1 // Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/>
2 // Copyright (C) 2010 Winch Gate Property Limited
4 // This program is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU Affero General Public License as
6 // published by the Free Software Foundation, either version 3 of the
7 // License, or (at your option) any later version.
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU Affero General Public License for more details.
14 // You should have received a copy of the GNU Affero General Public License
15 // along with this program. If not, see <http://www.gnu.org/licenses/>.
17 #include "stdgeorgesconvert.h"
20 namespace NLOLDGEORGES
23 //////////////////////////////////////////////////////////////////////
24 // Construction/Destruction
25 //////////////////////////////////////////////////////////////////////
27 CItemElt::CItemElt( CLoader
* const _pl
)
39 bool CItemElt::SetModified( const unsigned int _index
)
46 void CItemElt::SetModified( const bool _b
)
51 unsigned int CItemElt::GetInfos() const
56 void CItemElt::AddInfos( const unsigned int _infos
)
61 void CItemElt::SetListParent( CItemElt
* const _listparent
)
63 listparent
= _listparent
;
66 CItemElt
* CItemElt::GetListParent() const
71 void CItemElt::SetName( const CStringEx _sxname
)
76 CStringEx
CItemElt::GetName() const
81 CStringEx
CItemElt::GetParent() const
86 CStringEx
CItemElt::GetFormula() const
92 CStringEx
CItemElt::GetParentResult() const
94 return( sxparentresult
);
97 CStringEx
CItemElt::GetParentValue() const
99 return( sxparentvalue
);
102 CStringEx
CItemElt::GetCurrentResult() const
104 return( sxcurrentresult
);
107 CStringEx
CItemElt::GetCurrentValue() const
109 return( sxcurrentvalue
);
112 void CItemElt::SetParentValue( const CStringEx _sxparentvalue
)
116 void CItemElt::SetCurrentValue( const CStringEx _sxcurrentvalue
)
120 void CItemElt::FillParent( const CFormBodyElt
* const _pfbe
)
124 void CItemElt::FillCurrent( const CFormBodyElt
* const _pfbe
)
128 CItemElt
* CItemElt::Clone()
133 CFormBodyElt
* CItemElt::BuildForm()
138 unsigned int CItemElt::GetNbElt() const
143 CItemElt
* CItemElt::GetElt( const unsigned int _index
) const
146 return( ( CItemElt
* )( this ) );
150 CItemElt
* CItemElt::GetElt( const CStringEx _sxname
) const
155 unsigned int CItemElt::GetNbChild ()
160 CItemElt
* CItemElt::GetChild (unsigned int _index
)