Ogre::ObjectAbstractNode Class Reference

This specific abstract node represents a script object. More...

#include <OgreScriptCompiler.h>

Inheritance diagram for Ogre::ObjectAbstractNode:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 ObjectAbstractNode (AbstractNode *ptr)
AbstractNode * clone () const
 Returns a new AbstractNode which is a replica of this one.
String getValue () const
 Returns a string value depending on the type of the AbstractNode.
void addVariable (const String &name)
void setVariable (const String &name, const String &value)
std::pair< bool, String > getVariable (const String &name) const
const std::map
< String, String > & 
getVariables () const
void * operator new (size_t sz, const char *file, int line, const char *func)
 operator new, with debug line info
void * operator new (size_t sz)
void * operator new (size_t sz, void *ptr)
 placement operator new
void * operator new[] (size_t sz, const char *file, int line, const char *func)
 array operator new, with debug line info
void * operator new[] (size_t sz)
void operator delete (void *ptr)
void operator delete (void *ptr, void *)
void operator delete (void *ptr, const char *, int, const char *)
void operator delete[] (void *ptr)
void operator delete[] (void *ptr, const char *, int, const char *)

Public Attributes

String name
String cls
String base
uint32 id
bool abstract
AbstractNodeList children
AbstractNodeList values
AbstractNodeList overrides
String file
unsigned int line
AbstractNodeType type
AbstractNode * parent
Any context

Private Attributes

std::map< String,
String > 
mEnv


Detailed Description

This specific abstract node represents a script object.

Definition at line 117 of file OgreScriptCompiler.h.


Constructor & Destructor Documentation

Ogre::ObjectAbstractNode::ObjectAbstractNode ( AbstractNode *  ptr  ) 


Member Function Documentation

AbstractNode* Ogre::ObjectAbstractNode::clone (  )  const [virtual]

Returns a new AbstractNode which is a replica of this one.

Implements Ogre::AbstractNode.

String Ogre::ObjectAbstractNode::getValue (  )  const [virtual]

Returns a string value depending on the type of the AbstractNode.

Implements Ogre::AbstractNode.

void Ogre::ObjectAbstractNode::addVariable ( const String &  name  ) 

void Ogre::ObjectAbstractNode::setVariable ( const String &  name,
const String &  value 
)

std::pair<bool,String> Ogre::ObjectAbstractNode::getVariable ( const String &  name  )  const

const std::map<String,String>& Ogre::ObjectAbstractNode::getVariables (  )  const

template<class Alloc>
void* Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz,
const char *  file,
int  line,
const char *  func 
) [inherited]

operator new, with debug line info

Definition at line 62 of file OgreMemoryAllocatedObject.h.

template<class Alloc>
void* Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz  )  [inherited]

Definition at line 67 of file OgreMemoryAllocatedObject.h.

template<class Alloc>
void* Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz,
void *  ptr 
) [inherited]

placement operator new

Definition at line 73 of file OgreMemoryAllocatedObject.h.

template<class Alloc>
void* Ogre::AllocatedObject< Alloc >::operator new[] ( size_t  sz,
const char *  file,
int  line,
const char *  func 
) [inherited]

array operator new, with debug line info

Definition at line 79 of file OgreMemoryAllocatedObject.h.

template<class Alloc>
void* Ogre::AllocatedObject< Alloc >::operator new[] ( size_t  sz  )  [inherited]

Definition at line 84 of file OgreMemoryAllocatedObject.h.

template<class Alloc>
void Ogre::AllocatedObject< Alloc >::operator delete ( void *  ptr  )  [inherited]

Definition at line 89 of file OgreMemoryAllocatedObject.h.

template<class Alloc>
void Ogre::AllocatedObject< Alloc >::operator delete ( void *  ptr,
void *   
) [inherited]

Definition at line 95 of file OgreMemoryAllocatedObject.h.

template<class Alloc>
void Ogre::AllocatedObject< Alloc >::operator delete ( void *  ptr,
const char *  ,
int  ,
const char *   
) [inherited]

Definition at line 101 of file OgreMemoryAllocatedObject.h.

template<class Alloc>
void Ogre::AllocatedObject< Alloc >::operator delete[] ( void *  ptr  )  [inherited]

Definition at line 106 of file OgreMemoryAllocatedObject.h.

template<class Alloc>
void Ogre::AllocatedObject< Alloc >::operator delete[] ( void *  ptr,
const char *  ,
int  ,
const char *   
) [inherited]

Definition at line 112 of file OgreMemoryAllocatedObject.h.


Member Data Documentation

std::map<String,String> Ogre::ObjectAbstractNode::mEnv [private]

Definition at line 120 of file OgreScriptCompiler.h.

String Ogre::ObjectAbstractNode::name

Definition at line 122 of file OgreScriptCompiler.h.

String Ogre::ObjectAbstractNode::cls

Definition at line 122 of file OgreScriptCompiler.h.

String Ogre::ObjectAbstractNode::base

Definition at line 122 of file OgreScriptCompiler.h.

uint32 Ogre::ObjectAbstractNode::id

Definition at line 123 of file OgreScriptCompiler.h.

bool Ogre::ObjectAbstractNode::abstract

Definition at line 124 of file OgreScriptCompiler.h.

AbstractNodeList Ogre::ObjectAbstractNode::children

Definition at line 125 of file OgreScriptCompiler.h.

AbstractNodeList Ogre::ObjectAbstractNode::values

Definition at line 126 of file OgreScriptCompiler.h.

AbstractNodeList Ogre::ObjectAbstractNode::overrides

Definition at line 127 of file OgreScriptCompiler.h.

String Ogre::AbstractNode::file [inherited]

Definition at line 88 of file OgreScriptCompiler.h.

unsigned int Ogre::AbstractNode::line [inherited]

Definition at line 89 of file OgreScriptCompiler.h.

AbstractNodeType Ogre::AbstractNode::type [inherited]

Definition at line 90 of file OgreScriptCompiler.h.

AbstractNode* Ogre::AbstractNode::parent [inherited]

Definition at line 91 of file OgreScriptCompiler.h.

Any Ogre::AbstractNode::context [inherited]

Definition at line 92 of file OgreScriptCompiler.h.


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

Copyright © 2008 Torus Knot Software Ltd
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sat Apr 11 14:33:02 2009