diff options
author | Jacek Antonelli | 2008-08-15 23:45:04 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:04 -0500 |
commit | 117e22047c5752352342d64e3fb7ce00a4eb8113 (patch) | |
tree | e32de2cfba0dda8705ae528fcd1fbe23ba075685 /linden/indra/llmath/lltreenode.h | |
parent | Second Life viewer sources 1.18.0.6 (diff) | |
download | meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.zip meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.gz meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.bz2 meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.xz |
Second Life viewer sources 1.18.1.2
Diffstat (limited to 'linden/indra/llmath/lltreenode.h')
-rw-r--r-- | linden/indra/llmath/lltreenode.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/linden/indra/llmath/lltreenode.h b/linden/indra/llmath/lltreenode.h index a47795d..8a8710f 100644 --- a/linden/indra/llmath/lltreenode.h +++ b/linden/indra/llmath/lltreenode.h | |||
@@ -69,17 +69,17 @@ class LLTreeNode | |||
69 | public: | 69 | public: |
70 | LLTreeNode(LLTreeState<T>* state) { setState(state); } | 70 | LLTreeNode(LLTreeState<T>* state) { setState(state); } |
71 | virtual ~LLTreeNode(); | 71 | virtual ~LLTreeNode(); |
72 | virtual LLTreeState<T>* getState() { return mState; } | 72 | LLTreeState<T>* getState() { return mState; } |
73 | virtual const LLTreeState<T>* getState() const { return mState; } | 73 | const LLTreeState<T>* getState() const { return mState; } |
74 | 74 | ||
75 | virtual void setState(LLTreeState<T>* state); | 75 | void setState(LLTreeState<T>* state); |
76 | virtual void insert(T* data); | 76 | void insert(T* data); |
77 | virtual bool remove(T* data); | 77 | bool remove(T* data); |
78 | virtual void notifyRemoval(T* data); | 78 | void notifyRemoval(T* data); |
79 | virtual U32 getListenerCount() { return mListeners.size(); } | 79 | inline U32 getListenerCount() { return mListeners.size(); } |
80 | virtual LLTreeListener<T>* getListener(U32 index) const { return mListeners[index]; } | 80 | inline LLTreeListener<T>* getListener(U32 index) const { return mListeners[index]; } |
81 | virtual void addListener(LLTreeListener<T>* listener) { mListeners.push_back(listener); } | 81 | inline void addListener(LLTreeListener<T>* listener) { mListeners.push_back(listener); } |
82 | virtual void removeListener(U32 index) { mListeners.erase(mListeners.begin()+index); } | 82 | inline void removeListener(U32 index) { mListeners.erase(mListeners.begin()+index); } |
83 | 83 | ||
84 | protected: | 84 | protected: |
85 | void destroyListeners() | 85 | void destroyListeners() |