Public Member Functions

LayerProperty Class Reference

Search for all occurrences

Detailed Description

See also:
Class ReferenceTarget, Class ILayerManager.

Description:
This class is available in release 3.0 and later only.

The methods of this class are currently unused and reserved for internal use as of release 3.0.

class LayerProperty : public ReferenceTarget

#include <ilayer.h>

Inheritance diagram for LayerProperty:
Inheritance graph
[legend]

List of all members.

Public Member Functions

  LayerProperty ()
  LayerProperty (const MSTR &name, int id)
virtual  ~LayerProperty ()
virtual void  SetProperty (const int d)=0
virtual void  SetProperty (const float d)=0
virtual void  SetProperty (const Point3 &d)=0
virtual void  SetProperty (const MSTR &d)=0
virtual void  SetProperty (void *d)=0
virtual bool  GetProperty (int &i) const =0
virtual bool  GetProperty (float &f) const =0
virtual bool  GetProperty (Point3 &p) const =0
virtual bool  GetProperty (MSTR &n) const =0
virtual bool  GetProperty (void *v) const =0
int  GetID () const
void  SetID (int id)
MSTR  GetName () const
void  SetName (const MSTR &name)

Constructor & Destructor Documentation

LayerProperty ( ) [inline]
Remarks:
Constructor.

This will set the layer ID to -1 and an empty name string.
Default Implementation:
{ }
: m_id(-1), m_name("") {}
LayerProperty ( const MSTR name,
int  id 
) [inline]
Remarks:
Constructor.

This will initialize the layer property with the name and ID of the property.
Default Implementation:
{ }
: m_id(id), m_name(name) {}
virtual ~LayerProperty ( ) [inline, virtual]
Remarks:
Destructor.
Default Implementation:
{ }
{}

Member Function Documentation

virtual void SetProperty ( const int  d ) [pure virtual]
Remarks:
This method allows you to set the integer property.
Parameters:
const int d

The property to set.
virtual void SetProperty ( const float  d ) [pure virtual]
Remarks:
This method allows you to set the floating point property.
Parameters:
const float d

The property to set.
virtual void SetProperty ( const Point3 d ) [pure virtual]
Remarks:
This method allows you to set the Point3 property.
Parameters:
const Point3 & d

The property to set.
virtual void SetProperty ( const MSTR d ) [pure virtual]
Remarks:
This method allows you to set the string property.
Parameters:
const MSTR & d

The property to set.
virtual void SetProperty ( void *  d ) [pure virtual]
Remarks:
This method allows you to set the property.
Parameters:
void * d

A pointer to the property data to set.
virtual bool GetProperty ( int &  i ) const [pure virtual]
Remarks:
This method returns the layer property.
Parameters:
int & i

The property data.
Returns:
TRUE if successful, otherwise FALSE.
virtual bool GetProperty ( float &  f ) const [pure virtual]
Remarks:
This method returns the layer property.
Parameters:
float & f

The property data.
Returns:
TRUE if successful, otherwise FALSE.
virtual bool GetProperty ( Point3 p ) const [pure virtual]
Remarks:
This method returns the layer property.
Parameters:
Point3 & p

The property data.
Returns:
TRUE if successful, otherwise FALSE.
virtual bool GetProperty ( MSTR n ) const [pure virtual]
Remarks:
This method returns the layer property.
Parameters:
MSTR & n

The property data.
Returns:
TRUE if successful, otherwise FALSE.
virtual bool GetProperty ( void *  v ) const [pure virtual]
Remarks:
This method returns the layer property.
Parameters:
void * v

The property data.
Returns:
TRUE if successful, otherwise FALSE.
int GetID ( ) const [inline]
Remarks:
This method returns the property ID.
{ return m_id; }
void SetID ( int  id ) [inline]
Remarks:
This method allows you to set the property ID.
Parameters:
int id

The ID to set.
{ m_id = id; }
MSTR GetName ( ) const [inline]
Remarks:
This method returns the property name.
{ return m_name; }
void SetName ( const MSTR name ) [inline]
Remarks:
This method allows you to set the property name.
Parameters:
const MSTR & name

The property name to set.
{ m_name = name; }

LayerProperty LayerProperty LayerProperty LayerProperty LayerProperty LayerProperty LayerProperty LayerProperty LayerProperty LayerProperty
LayerProperty LayerProperty LayerProperty LayerProperty LayerProperty LayerProperty LayerProperty LayerProperty LayerProperty LayerProperty