#include <PNode.h>
|
| | DataNode (const Variant value, const std::string &filename, int linenumber) |
| |
| | DataNode (const std::string &filename, int linenumber) |
| |
| | DataNode (pInt ivalue, const std::string &filename, int linenumber) |
| |
| | DataNode (pDouble fvalue, const std::string &filename, int linenumber) |
| |
| virtual | ~DataNode () |
| |
| VariantDataType | GetDataType () const |
| |
| const Variant & | GetValue () const |
| |
| | PNode () |
| | The Standard constructor.
|
| |
| | PNode (const PNode &pn) |
| |
| | PNode (const std::string &filename, int linenumber) |
| |
| | PNode (PNODE_TYPE type, const std::string &filename, int linenumber) |
| |
| virtual | ~PNode () |
| | The Standard destructor.
|
| |
| PNODE_TYPE | GetType () const |
| | Access mType data.
|
| |
| void | SetFileInfo (const std::string &filename, int linenumber) |
| |
| std::string | GetFilename () const |
| |
| int | GetLineNumber () const |
| |
| void | SetFunctionName (const std::string &funcname) |
| |
| std::string | GetFunctionName () const |
| |
| virtual void | DestroyChildren () |
| |
|
| virtual std::ostream & | SendToStream (std::ostream &out) const |
| |
Definition at line 135 of file PNode.h.
◆ DataNode() [1/4]
| DataNode::DataNode |
( |
const Variant |
value, |
|
|
const std::string & |
filename, |
|
|
int |
linenumber |
|
) |
| |
Definition at line 371 of file PNode.cpp.
371 :
374{
375
376#ifdef VERBOSE_PNODE_CONSTRUCTION_MESSAGES
377 cerr << "\tConstructing DataNode of variant value " << flush << value << endl;
378#endif
379
381}
PNode()
The Standard constructor.
References mValue.
◆ DataNode() [2/4]
| DataNode::DataNode |
( |
const std::string & |
filename, |
|
|
int |
linenumber |
|
) |
| |
◆ DataNode() [3/4]
| DataNode::DataNode |
( |
pInt |
ivalue, |
|
|
const std::string & |
filename, |
|
|
int |
linenumber |
|
) |
| |
◆ DataNode() [4/4]
| DataNode::DataNode |
( |
pDouble |
fvalue, |
|
|
const std::string & |
filename, |
|
|
int |
linenumber |
|
) |
| |
◆ ~DataNode()
Definition at line 455 of file PNode.cpp.
456{
457#ifdef VERBOSE_PNODE_CONSTRUCTION_MESSAGES
458 cout <<" deleting DataNode: " << *this << endl;
459#endif
460}
◆ GetDataType()
◆ GetValue()
| const Variant & DataNode::GetValue |
( |
| ) |
const |
|
inline |
◆ SendToStream()
| ostream & DataNode::SendToStream |
( |
std::ostream & |
out | ) |
const |
|
protectedvirtual |
Reimplemented from PNode.
Definition at line 463 of file PNode.cpp.
464{
465 out <<
"<DataNode of Type: " <<
GetType() <<
" and Value: " <<
GetValue()<<
">" << flush;
466 return out;
467}
const Variant & GetValue() const
PNODE_TYPE GetType() const
Access mType data.
References PNode::GetType(), and GetValue().
◆ mValue
The documentation for this class was generated from the following files: