OGRE 14.4
Object-Oriented Graphics Rendering Engine
Loading...
Searching...
No Matches
Ogre::AbstractNode Class Referenceabstract

#include <OgreScriptCompiler.h>

Inheritance diagram for Ogre::AbstractNode:

Public Member Functions

 AbstractNode (AbstractNode *ptr)
virtual ~AbstractNode ()
virtual AbstractNodeclone () const =0
 Returns a new AbstractNode which is a replica of this one.
ScriptProperty getProperty () const
 Returns the property name and values of the node for ANT_PROPERTY. Empty string otherwise.
const StringgetString () const
 Returns the string content of the node for ANT_ATOM. Empty string otherwise.
virtual const StringgetValue () const =0
 Returns a string value depending on the type of the AbstractNode.

Public Attributes

Any context
String file
unsigned int line
AbstractNodeparent
AbstractNodeType type

Constructor & Destructor Documentation

◆ AbstractNode()

◆ ~AbstractNode()

virtual Ogre::AbstractNode::~AbstractNode ( )
inlinevirtual

Member Function Documentation

◆ clone()

virtual AbstractNode * Ogre::AbstractNode::clone ( ) const
pure virtual

◆ getValue()

virtual const String & Ogre::AbstractNode::getValue ( ) const
pure virtual

Member Data Documentation

◆ file

String Ogre::AbstractNode::file

◆ line

unsigned int Ogre::AbstractNode::line

◆ type

AbstractNodeType Ogre::AbstractNode::type

Referenced by getProperty(), and getString().

◆ parent

AbstractNode* Ogre::AbstractNode::parent

◆ context

Any Ogre::AbstractNode::context

The documentation for this class was generated from the following file: