From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- .../nel/classNLGEORGES_1_1CFormElmAtom.html | 1120 ++++++++++++++++++++ 1 file changed, 1120 insertions(+) create mode 100644 docs/doxygen/nel/classNLGEORGES_1_1CFormElmAtom.html (limited to 'docs/doxygen/nel/classNLGEORGES_1_1CFormElmAtom.html') diff --git a/docs/doxygen/nel/classNLGEORGES_1_1CFormElmAtom.html b/docs/doxygen/nel/classNLGEORGES_1_1CFormElmAtom.html new file mode 100644 index 00000000..561e6680 --- /dev/null +++ b/docs/doxygen/nel/classNLGEORGES_1_1CFormElmAtom.html @@ -0,0 +1,1120 @@ + + + + nevrax.org : docs + + + + + + + + + + + + + + +
# Home   # nevrax.com   
+ + + + +
Nevrax
+ + + + + + + + + + +
+ + +
+ Nevrax.org
+ + + + + + + +
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
+
+ + +
+ + +
+Docs + +
+  + + + + + +
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 Reference

Signed integer element. +More... +

+#include <form_elm.h> +

+

Inheritance diagram for NLGEORGES::CFormElmAtom: +

+ +NLGEORGES::CFormElm +NLGEORGES::UFormElm + +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 CTypeType

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

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NLGEORGES::CFormElmAtom::CFormElmAtom CForm  form,
CFormElm  parentNode,
const CFormDfn  parentDfn,
uint   parentIndex
+
+ + + + + +
+   + + +

+ +

+Definition at line 2791 of file form_elm.cpp. +

+References Type.

+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void NLGEORGES::CFormElmAtom::getFormName std::string &   result,
const CFormElm  child
const [virtual]
+
+ + + + + +
+   + + +

+ +

+Implements NLGEORGES::CFormElm. +

+Definition at line 3032 of file form_elm.cpp. +

+References nlassert, and NLGEORGES::CFormElm::ParentNode. +

+Referenced by warning.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
bool NLGEORGES::CFormElmAtom::getValue NLMISC::CRGBA  resultname,
TEval   evaluate
const [virtual]
+
+ + + + + +
+   + + +

+Warning, only R, G and B members are filled, not A. +

+ +

+Reimplemented from NLGEORGES::CFormElm. +

+Definition at line 2941 of file form_elm.cpp. +

+References NLGEORGES::CFormElm::convertValue, getValue, and value.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
bool NLGEORGES::CFormElmAtom::getValue bool &   resultname,
TEval   evaluate
const [virtual]
+
+ + + + + +
+   + + +

+ +

+Reimplemented from NLGEORGES::CFormElm. +

+Definition at line 2927 of file form_elm.cpp. +

+References NLGEORGES::CFormElm::convertValue, getValue, and value.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
bool NLGEORGES::CFormElmAtom::getValue double &   resultname,
TEval   evaluate
const [virtual]
+
+ + + + + +
+   + + +

+ +

+Reimplemented from NLGEORGES::CFormElm. +

+Definition at line 2913 of file form_elm.cpp. +

+References NLGEORGES::CFormElm::convertValue, getValue, and value.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
bool NLGEORGES::CFormElmAtom::getValue float &   resultname,
TEval   evaluate
const [virtual]
+
+ + + + + +
+   + + +

+ +

+Reimplemented from NLGEORGES::CFormElm. +

+Definition at line 2899 of file form_elm.cpp. +

+References NLGEORGES::CFormElm::convertValue, getValue, and value.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
bool NLGEORGES::CFormElmAtom::getValue uint32  resultname,
TEval   evaluate
const [virtual]
+
+ + + + + +
+   + + +

+ +

+Reimplemented from NLGEORGES::CFormElm. +

+Definition at line 2885 of file form_elm.cpp. +

+References NLGEORGES::CFormElm::convertValue, getValue, and value.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
bool NLGEORGES::CFormElmAtom::getValue sint32  resultname,
TEval   evaluate
const [virtual]
+
+ + + + + +
+   + + +

+ +

+Reimplemented from NLGEORGES::CFormElm. +

+Definition at line 2871 of file form_elm.cpp. +

+References NLGEORGES::CFormElm::convertValue, getValue, and value.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
bool NLGEORGES::CFormElmAtom::getValue uint16  resultname,
TEval   evaluate
const [virtual]
+
+ + + + + +
+   + + +

+ +

+Reimplemented from NLGEORGES::CFormElm. +

+Definition at line 2857 of file form_elm.cpp. +

+References NLGEORGES::CFormElm::convertValue, getValue, and value.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
bool NLGEORGES::CFormElmAtom::getValue sint16  resultname,
TEval   evaluate
const [virtual]
+
+ + + + + +
+   + + +

+ +

+Reimplemented from NLGEORGES::CFormElm. +

+Definition at line 2843 of file form_elm.cpp. +

+References NLGEORGES::CFormElm::convertValue, getValue, and value.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
bool NLGEORGES::CFormElmAtom::getValue uint8  resultname,
TEval   evaluate
const [virtual]
+
+ + + + + +
+   + + +

+ +

+Reimplemented from NLGEORGES::CFormElm. +

+Definition at line 2829 of file form_elm.cpp. +

+References NLGEORGES::CFormElm::convertValue, getValue, and value.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
bool NLGEORGES::CFormElmAtom::getValue sint8  resultname,
TEval   evaluate
const [virtual]
+
+ + + + + +
+   + + +

+ +

+Reimplemented from NLGEORGES::CFormElm. +

+Definition at line 2815 of file form_elm.cpp. +

+References NLGEORGES::CFormElm::convertValue, getValue, and value.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
bool NLGEORGES::CFormElmAtom::getValue std::string &   resultname,
TEval   evaluate
const [virtual]
+
+ + + + + +
+   + + +

+Return the atom value. +

+The numbers are clamped to the type limit values.

+Parameters:
+ + + +
result  +is the reference on the value to fill with result
evaluate  +must be true if you want to have an evaluated value, false if you want the formula value.
+
+

+Reimplemented from NLGEORGES::CFormElm. +

+Definition at line 2805 of file form_elm.cpp. +

+References NLGEORGES::CFormElm::Form, NLGEORGES::CFormElm::LastRound, nlassert, NLGEORGES::CFormElm::ParentDfn, NLGEORGES::CFormElm::ParentIndex, and Type. +

+Referenced by getValue.

+

+ + + + +
+ + + + + + + + + +
bool NLGEORGES::CFormElmAtom::isAtom   const [virtual]
+
+ + + + + +
+   + + +

+Return true if the element is an atom. +

+ +

+Reimplemented from NLGEORGES::CFormElm. +

+Definition at line 2798 of file form_elm.cpp.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void NLGEORGES::CFormElmAtom::read xmlNodePtr   node,
CFormLoader  loader,
const CType  type,
CForm  form
+
+ + + + + +
+   + + +

+ +

+Definition at line 2990 of file form_elm.cpp. +

+References setValue, Type, type, and value.

+

+ + + + +
+ + + + + + + + + + +
bool NLGEORGES::CFormElmAtom::setParent CFormElm  parent
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + +
void NLGEORGES::CFormElmAtom::setValue const char *   value
+
+ + + + + +
+   + + +

+ +

+Definition at line 3025 of file form_elm.cpp. +

+References Value, and value. +

+Referenced by read.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void NLGEORGES::CFormElmAtom::warning bool   exception,
const char *   function,
const char *   format,
...  
const [private, virtual]
+
+ + + + + +
+   + + +

+ +

+Reimplemented from NLGEORGES::CFormElm. +

+Definition at line 3046 of file form_elm.cpp. +

+References NLGEORGES::CFormElm::Form, format, getFormName, and NLGEORGES::warning.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
xmlNodePtr NLGEORGES::CFormElmAtom::write xmlNodePtr   node,
const CForm  form,
const char *   structName,
bool   forceWrite = false
const [virtual]
+
+ + + + + +
+   + + +

+ +

+Implements NLGEORGES::CFormElm. +

+Definition at line 2955 of file form_elm.cpp. +

+References NLGEORGES::CFormElm::isUsed, and Value.

+


Friends And Related Function Documentation

+

+ + + + +
+ + +
friend class CForm [friend] +
+
+ + + + + +
+   + + +

+ +

+Reimplemented from NLGEORGES::CFormElm. +

+Definition at line 415 of file form_elm.h.

+

+ + + + +
+ + +
friend class CFormElm [friend] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 416 of file form_elm.h.

+

+ + + + +
+ + +
friend class CType [friend] +
+
+ + + + + +
+   + + +

+ +

+Reimplemented from NLGEORGES::CFormElm. +

+Definition at line 417 of file form_elm.h.

+


Member Data Documentation

+

+ + + + +
+ + +
const CType* NLGEORGES::CFormElmAtom::Type +
+
+ + + + + +
+   + + +

+ +

+Definition at line 426 of file form_elm.h. +

+Referenced by CFormElmAtom, getValue, and read.

+

+ + + + +
+ + +
std::string NLGEORGES::CFormElmAtom::Value [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 455 of file form_elm.h. +

+Referenced by setValue, and write.

+


The documentation for this class was generated from the following files: + + + +
                                                                                                                                                                    +
+ + -- cgit v1.2.1