se_core::Property Class Reference

#include <Property.hpp>

List of all members.

Public Types

enum  Type {
  PT_NONE, PT_SHORT, PT_INT, PT_HASH,
  PT_FLOAT, PT_SCRIPT, PT_ACTION, PT_AREA,
  PT_STRING, PT_STRING_LIST, PT_END_OF_TYPES
}

Public Member Functions

 Property (const char *name, short value)
 Property (const char *name, int value)
 Property (const char *name, float value)
 Property (const char *name, String *value)
 Property (const char *name, unsigned int count, String *values)
 Property (const char *name, const Action *value)
 Property (const char *name, const Script *value)
 Property (const char *name, Area *value)
 ~Property ()
const char * name () const
Type type () const
unsigned int key () const
short shortValue () const
int intValue () const
unsigned int hashValue () const
float floatValue () const
const char * string () const
unsigned int valueCount () const
const char * string (unsigned int index) const
const Actionaction () const
const Scriptscript () const
Areaarea () const

Static Public Member Functions

unsigned int hash (const char *name)


Member Enumeration Documentation

enum se_core::Property::Type
 

Enumeration values:
PT_NONE 
PT_SHORT 
PT_INT 
PT_HASH 
PT_FLOAT 
PT_SCRIPT 
PT_ACTION 
PT_AREA 
PT_STRING 
PT_STRING_LIST 
PT_END_OF_TYPES 

Definition at line 37 of file Property.hpp.


Constructor & Destructor Documentation

se_core::Property::Property const char *  name,
short  value
 

Definition at line 27 of file Property.cpp.

se_core::Property::Property const char *  name,
int  value
 

Definition at line 33 of file Property.cpp.

se_core::Property::Property const char *  name,
float  value
 

Definition at line 39 of file Property.cpp.

se_core::Property::Property const char *  name,
String value
 

Definition at line 45 of file Property.cpp.

References se_core::String::get().

se_core::Property::Property const char *  name,
unsigned int  count,
String values
 

Definition at line 55 of file Property.cpp.

se_core::Property::Property const char *  name,
const Action value
 

Definition at line 62 of file Property.cpp.

se_core::Property::Property const char *  name,
const Script value
 

Definition at line 68 of file Property.cpp.

se_core::Property::Property const char *  name,
Area value
 

Definition at line 74 of file Property.cpp.

se_core::Property::~Property  ) 
 

Definition at line 80 of file Property.cpp.


Member Function Documentation

const Action* se_core::Property::action  )  const [inline]
 

Definition at line 121 of file Property.hpp.

References Assert.

Referenced by se_core::CoDefault::pop().

Area* se_core::Property::area  )  const [inline]
 

Definition at line 131 of file Property.hpp.

References Assert.

float se_core::Property::floatValue  )  const [inline]
 

Definition at line 98 of file Property.hpp.

References Assert.

unsigned int se_core::Property::hash const char *  name  )  [static]
 

Definition at line 87 of file Property.cpp.

unsigned int se_core::Property::hashValue  )  const [inline]
 

Definition at line 93 of file Property.hpp.

References Assert.

Referenced by se_core::DefaultTC::pop(), and se_core::CoDefault::pop().

int se_core::Property::intValue  )  const [inline]
 

Definition at line 88 of file Property.hpp.

References Assert.

unsigned int se_core::Property::key  )  const [inline]
 

Definition at line 79 of file Property.hpp.

Referenced by se_core::PropertyHashTable::add(), se_core::PropertyHashTable::lookupNode(), and se_core::PropertyHashTable::remove().

const char* se_core::Property::name  )  const [inline]
 

Definition at line 72 of file Property.hpp.

Referenced by se_core::PropertyHashTable::add().

const Script* se_core::Property::script  )  const [inline]
 

Definition at line 126 of file Property.hpp.

References Assert.

short se_core::Property::shortValue  )  const [inline]
 

Definition at line 83 of file Property.hpp.

References Assert.

Referenced by se_basic::SpawnChildren::perform(), and se_basic::Spawn::perform().

const char* se_core::Property::string unsigned int  index  )  const [inline]
 

Definition at line 115 of file Property.hpp.

References Assert.

const char* se_core::Property::string  )  const [inline]
 

Definition at line 103 of file Property.hpp.

References Assert.

Referenced by se_core::DefaultTC::_pop(), se_core::CoDefault::_pop(), se_basic::SpawnChildren::perform(), and se_basic::Spawn::perform().

Type se_core::Property::type  )  const [inline]
 

Definition at line 76 of file Property.hpp.

Referenced by se_core::DefaultTC::pop(), and se_core::CoDefault::pop().

unsigned int se_core::Property::valueCount  )  const [inline]
 

Definition at line 108 of file Property.hpp.

Referenced by se_core::DefaultTC::_pop(), se_core::CoDefault::_pop(), and se_basic::SpawnChildren::perform().


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

Home Page | SagaEngine trunk (updated nightly) reference generated Sun Dec 2 20:06:29 2007 by Doxygen version 1.3.9.1.

SourceForge.net Logo