|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NLGEORGES::CFormElmAtom Class ReferenceSigned integer element.
More...
#include <form_elm.h>
Inheritance diagram for NLGEORGES::CFormElmAtom:
List of all members.
Public Methods |
| CFormElmAtom (CForm *form, CFormElm *parentNode, const CFormDfn *parentDfn, uint parentIndex) |
xmlNodePtr | write (xmlNodePtr node, const CForm *form, const char *structName, bool forceWrite=false) const |
bool | setParent (CFormElm *parent) |
void | getFormName (std::string &result, const CFormElm *child) const |
void | read (xmlNodePtr node, CFormLoader &loader, const CType *type, CForm *form) |
bool | isAtom () const |
| Return true if the element is an atom. More...
|
bool | getValue (std::string &resultname, TEval evaluate) const |
| Return the atom value. More...
|
bool | getValue (sint8 &resultname, TEval evaluate) const |
bool | getValue (uint8 &resultname, TEval evaluate) const |
bool | getValue (sint16 &resultname, TEval evaluate) const |
bool | getValue (uint16 &resultname, TEval evaluate) const |
bool | getValue (sint32 &resultname, TEval evaluate) const |
bool | getValue (uint32 &resultname, TEval evaluate) const |
bool | getValue (float &resultname, TEval evaluate) const |
bool | getValue (double &resultname, TEval evaluate) const |
bool | getValue (bool &resultname, TEval evaluate) const |
bool | getValue (NLMISC::CRGBA &resultname, TEval evaluate) const |
| Warning, only R, G and B members are filled, not A. More...
|
void | setValue (const char *value) |
Public Attributes |
const CType * | Type |
Private Methods |
virtual void | warning (bool exception, const char *function, const char *format,...) const |
Private Attributes |
std::string | Value |
Friends |
class | CForm |
class | CFormElm |
class | CType |
Detailed Description
Signed integer element.
Definition at line 413 of file form_elm.h.
Constructor & Destructor Documentation
Member Function Documentation
void NLGEORGES::CFormElmAtom::getFormName |
( |
std::string & |
result, |
|
|
const CFormElm * |
child |
|
) |
const [virtual] |
|
bool NLGEORGES::CFormElmAtom::getValue |
( |
NLMISC::CRGBA & |
resultname, |
|
|
TEval |
evaluate |
|
) |
const [virtual] |
|
bool NLGEORGES::CFormElmAtom::getValue |
( |
bool & |
resultname, |
|
|
TEval |
evaluate |
|
) |
const [virtual] |
|
bool NLGEORGES::CFormElmAtom::getValue |
( |
double & |
resultname, |
|
|
TEval |
evaluate |
|
) |
const [virtual] |
|
bool NLGEORGES::CFormElmAtom::getValue |
( |
float & |
resultname, |
|
|
TEval |
evaluate |
|
) |
const [virtual] |
|
bool NLGEORGES::CFormElmAtom::getValue |
( |
uint32 & |
resultname, |
|
|
TEval |
evaluate |
|
) |
const [virtual] |
|
bool NLGEORGES::CFormElmAtom::getValue |
( |
sint32 & |
resultname, |
|
|
TEval |
evaluate |
|
) |
const [virtual] |
|
bool NLGEORGES::CFormElmAtom::getValue |
( |
uint16 & |
resultname, |
|
|
TEval |
evaluate |
|
) |
const [virtual] |
|
bool NLGEORGES::CFormElmAtom::getValue |
( |
sint16 & |
resultname, |
|
|
TEval |
evaluate |
|
) |
const [virtual] |
|
bool NLGEORGES::CFormElmAtom::getValue |
( |
uint8 & |
resultname, |
|
|
TEval |
evaluate |
|
) |
const [virtual] |
|
bool NLGEORGES::CFormElmAtom::getValue |
( |
sint8 & |
resultname, |
|
|
TEval |
evaluate |
|
) |
const [virtual] |
|
bool NLGEORGES::CFormElmAtom::getValue |
( |
std::string & |
resultname, |
|
|
TEval |
evaluate |
|
) |
const [virtual] |
|
bool NLGEORGES::CFormElmAtom::isAtom |
( |
|
) |
const [virtual] |
|
void NLGEORGES::CFormElmAtom::read |
( |
xmlNodePtr |
node, |
|
|
CFormLoader & |
loader, |
|
|
const CType * |
type, |
|
|
CForm * |
form |
|
) |
|
|
bool NLGEORGES::CFormElmAtom::setParent |
( |
CFormElm * |
parent |
) |
|
|
void NLGEORGES::CFormElmAtom::setValue |
( |
const char * |
value |
) |
|
|
void NLGEORGES::CFormElmAtom::warning |
( |
bool |
exception, |
|
|
const char * |
function, |
|
|
const char * |
format, |
|
|
... |
|
|
) |
const [private, virtual] |
|
xmlNodePtr NLGEORGES::CFormElmAtom::write |
( |
xmlNodePtr |
node, |
|
|
const CForm * |
form, |
|
|
const char * |
structName, |
|
|
bool |
forceWrite = false |
|
) |
const [virtual] |
|
Friends And Related Function Documentation
friend class CForm [friend]
|
|
friend class CFormElm [friend]
|
|
friend class CType [friend]
|
|
Member Data Documentation
const CType* NLGEORGES::CFormElmAtom::Type
|
|
std::string NLGEORGES::CFormElmAtom::Value [private]
|
|
The documentation for this class was generated from the following files:
|
|