ExposedField Class Reference

#include <ExposedField.h>

Inheritance diagram for ExposedField:

Element List of all members.

Public Member Functions

 ExposedField (int type, const std::string &name, FieldValue *value, float min=-FLT_MAX, float max=FLT_MAX, int nodeType=NODE_ANY, int flags=0, const char **strings=NULL)
virtual ~ExposedField ()
virtual int getElementType () const
int getType () const
const std::string & getName () const
FieldValuegetValue () const
float getMin () const
float getMax () const
int getNodeType () const
int getFlags () const
const char ** getStrings () const
int getField () const
int getEventIn () const
int getEventOut () const
void setField (int field)
void setEventIn (int eventIn)
void setEventOut (int eventOut)
virtual void write (FILE *f, int indent) const

Private Attributes

int _type
std::string * _name
FieldValue_value
int _field
int _eventIn
int _eventOut
float _min
float _max
int _nodeType
int _flags
const char ** _strings

Detailed Description

Responsible for specifically handling the VRML97 exposedFields. The class operation resembles Field class.


Constructor & Destructor Documentation

ExposedField::ExposedField ( int  type,
const std::string &  name,
FieldValue value,
float  min = -FLT_MAX,
float  max = FLT_MAX,
int  nodeType = NODE_ANY,
int  flags = 0,
const char **  strings = NULL 
)

ExposedField::~ExposedField (  )  [virtual]


Member Function Documentation

virtual int ExposedField::getElementType (  )  const [inline, virtual]

Implements Element.

int ExposedField::getType (  )  const [inline]

const std::string& ExposedField::getName (  )  const [inline]

FieldValue* ExposedField::getValue (  )  const [inline]

float ExposedField::getMin (  )  const [inline]

float ExposedField::getMax (  )  const [inline]

int ExposedField::getNodeType (  )  const [inline]

int ExposedField::getFlags (  )  const [inline]

const char** ExposedField::getStrings (  )  const [inline]

int ExposedField::getField (  )  const [inline]

int ExposedField::getEventIn (  )  const [inline]

int ExposedField::getEventOut (  )  const [inline]

void ExposedField::setField ( int  field  )  [inline]

void ExposedField::setEventIn ( int  eventIn  )  [inline]

void ExposedField::setEventOut ( int  eventOut  )  [inline]

void ExposedField::write ( FILE *  f,
int  indent 
) const [virtual]


Member Data Documentation

int ExposedField::_type [private]

std::string* ExposedField::_name [private]

FieldValue* ExposedField::_value [private]

int ExposedField::_field [private]

int ExposedField::_eventIn [private]

int ExposedField::_eventOut [private]

float ExposedField::_min [private]

float ExposedField::_max [private]

int ExposedField::_nodeType [private]

int ExposedField::_flags [private]

const char** ExposedField::_strings [private]


Generated on Thu Jan 18 10:06:17 2007 for vhdPLUS by  doxygen 1.5.1-p1