EntityClassAttribute Class Reference

#include <eclasslib.h>

Public Member Functions

 EntityClassAttribute ()
 EntityClassAttribute (const char *type, const char *name, bool mandatory=false, const char *value="", const char *description="")

Data Fields

std::string m_type
std::string m_name
std::string m_value
std::string m_description
bool m_mandatory

Detailed Description

Definition at line 74 of file eclasslib.h.


Constructor & Destructor Documentation

EntityClassAttribute::EntityClassAttribute (  )  [inline]

Definition at line 82 of file eclasslib.h.

EntityClassAttribute::EntityClassAttribute ( const char *  type,
const char *  name,
bool  mandatory = false,
const char *  value = "",
const char *  description = "" 
) [inline]

Definition at line 85 of file eclasslib.h.


Field Documentation

actually not used, could be used as a tooltip

Todo:
use this as tooltip in entityinspector?

Definition at line 80 of file eclasslib.h.

if this is true, the value is needed for the entity to work

Definition at line 81 of file eclasslib.h.

name used for display in entityinspector

Definition at line 78 of file eclasslib.h.

type used as entity key and to decide how gui representation will look like

See also:
EntityAttributeFactory

Definition at line 77 of file eclasslib.h.

current attribute value

Definition at line 79 of file eclasslib.h.

Referenced by EntityClass::getDefaultForAttribute().


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

Generated by  doxygen 1.6.2