Clarisse 5.0 SP8 SDK  5.0.5.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | Public Member Functions | Static Public Member Functions | Friends | List of all members
ComponentProperty Class Reference

This class defines a component property. More...

Inheritance diagram for ComponentProperty:
CoreBaseType

Public Types

enum  PropertyStates {
  PROPERTY_STATE_VISIBLE,
  PROPERTY_STATE_COUNT
}
 
enum  Type {
  TYPE_BOOL,
  TYPE_LONG,
  TYPE_DOUBLE,
  TYPE_STRING,
  TYPE_REFERENCE,
  TYPE_COUNT
}
 Enumeration defining the property type. More...
 

Public Member Functions

const CoreStringget_name () const
 Return the property name.
 
const CoreStringget_doc () const
 Return the property documentation string.
 
const Typeget_type () const
 Return the property type.
 
- Public Member Functions inherited from CoreBaseType
bool is_kindof (const CoreClassInfo &cinfo) const
 

Static Public Member Functions

static const char * get_type_name (const Type &type)
 Return the property type as string.
 
- Static Public Member Functions inherited from CoreBaseType
static const CoreClassInfoclass_info ()
 Get the type descriptor of this instance.
 

Friends

class ComponentInterface
 
class CoreVector< ComponentProperty >
 

Detailed Description

This class defines a component property.

Member Enumeration Documentation

Enumeration defining the property type.

Enumerator:
TYPE_BOOL 

Boolean.

TYPE_LONG 

Long.

TYPE_DOUBLE 

Double floating point.

TYPE_STRING 

String.

TYPE_REFERENCE 

Reference (OfObject pointer)

TYPE_COUNT 

Number of property types.

Member Function Documentation

const char * ComponentProperty::get_type_name ( const Type type)
static

Return the property type as string.

Parameters
[in]typeproperty type