Basic Image AlgorithmS Library
2.8.0
|
#include <GLviewer/Scenes/NodeInfo.hh>
Public Member Functions | |
bool | AreKeyPointersValid () |
bool | NodeHasNodeInfo (osg::Node *node) const |
NodeInfoMap () | |
xmlNodePtr | XMLAdd (const xmlNodePtr Node, XMLIO &XMLObject) const |
call this to add the class to a node of a given xml tree More... | |
virtual int | XMLGetClassName (std::string &TopLevelTag, double &Version) const |
derived classes must implement this, so that it returns the name of the class for the top level tag in the XML file More... | |
virtual int | XMLIn (const xmlNodePtr Node, BIAS::XMLIO &XMLObject) |
derived classes must implement this to read everything in Node into (*this). More... | |
virtual int | XMLOut (const xmlNodePtr Node, BIAS::XMLIO &XMLObject) const |
derived classes must implement this to write the code of (*this) into the XML tree. More... | |
int | XMLRead (const std::string &Filename) |
derived classes must implement the function XMLIn which is called by this function XMLRead to read everything with name Filename into (*this). More... | |
int | XMLReadFromString (const std::string &str) |
reconstruct xml tree from string More... | |
int | XMLWrite (const std::string &Filename, int CompressionLevel=0, bool AutoAddCompressionSuffix=true, std::string encoding="UTF-8") const |
call this to add the class to a new xml tree and write it to the file Filename. More... | |
int | XMLWriteToString (std::string &str, std::string encoding="UTF-8") const |
serialize xml tree to string More... | |
Public Attributes | |
T | elements |
STL member. More... | |
K | keys |
STL member. More... | |
Protected Attributes | |
bool | areKeyPointersValid_ |
Definition at line 160 of file NodeInfo.hh.
|
inline |
Definition at line 164 of file NodeInfo.hh.
References areKeyPointersValid_.
|
inline |
Definition at line 211 of file NodeInfo.hh.
References areKeyPointersValid_.
|
inline |
Definition at line 206 of file NodeInfo.hh.
Referenced by BIAS::SceneOpenSceneGraph::IsEditableNode().
|
inherited |
call this to add the class to a node of a given xml tree
Definition at line 26 of file XMLBase.cpp.
References BIAS::XMLIO::addAttribute(), and BIAS::XMLIO::addChildNode().
|
inlinevirtual |
derived classes must implement this, so that it returns the name of the class for the top level tag in the XML file
Implements BIAS::XMLBase.
Definition at line 168 of file NodeInfo.hh.
|
inlinevirtual |
derived classes must implement this to read everything in Node into (*this).
Called by XMLRead of XMLBase.
Implements BIAS::XMLBase.
Definition at line 175 of file NodeInfo.hh.
References areKeyPointersValid_, BIAS::XMLIO::getFirstChild(), BIAS::XMLIO::getNextChild(), and BIAS::NodeInfo::XMLIn().
|
inlinevirtual |
derived classes must implement this to write the code of (*this) into the XML tree.
Called by XMLRead of XMLBase.
node | always points to a node with a name given by the function XMLGetTopLevelName |
Implements BIAS::XMLBase.
Definition at line 195 of file NodeInfo.hh.
|
inherited |
derived classes must implement the function XMLIn which is called by this function XMLRead to read everything with name Filename into (*this).
Definition at line 78 of file XMLBase.cpp.
References BIAS::XMLIO::clear(), BIAS::XMLIO::getAttributeValueDouble(), BIAS::XMLIO::getNodeName(), and BIAS::XMLIO::read().
Referenced by BIAS::biasGLviewerGLUT::Init(), BIAS::SceneOpenSceneGraph::Load(), and BIAS::GLProjectionParametersPerspective::XMLRead().
|
inherited |
reconstruct xml tree from string
Definition at line 111 of file XMLBase.cpp.
References BIAS::XMLIO::clear(), BIAS::XMLIO::getAttributeValueDouble(), BIAS::XMLIO::getNodeName(), and BIAS::XMLIO::ReadFromString().
Referenced by BIAS::IOUtils::GetProjection().
|
inherited |
call this to add the class to a new xml tree and write it to the file Filename.
Calls function XMLOut of derived class
CompressionLevel | 0..9 (0=off, 9=highest compression) |
Definition at line 40 of file XMLBase.cpp.
References BIAS::XMLIO::addAttribute(), BIAS::XMLIO::clear(), BIAS::XMLIO::create(), BIAS::XMLIO::SetCompression(), BIAS::XMLIO::SetEncoding(), and BIAS::XMLIO::write().
Referenced by BIAS::SphericalDepthPanorama::GetTriangleMesh(), BIAS::SceneOpenSceneGraph::Save(), BIAS::ScreenShotListener::StoreNextScreenShot_(), and BIAS::GLProjectionParametersPerspective::XMLWrite().
|
inherited |
serialize xml tree to string
Definition at line 61 of file XMLBase.cpp.
References BIAS::XMLIO::addAttribute(), BIAS::XMLIO::clear(), BIAS::XMLIO::create(), BIAS::XMLIO::SetEncoding(), and BIAS::XMLIO::WriteToString().
|
protected |
Definition at line 214 of file NodeInfo.hh.
Referenced by AreKeyPointersValid(), NodeInfoMap(), and XMLIn().
|
inherited |
STL member.
|
inherited |
STL member.