Home About Applications Software License Documentation Download Community



Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

CObjPersistent Class Reference

Inheritance diagram for CObjPersistent:

CObject CApplication CFrameworkServer CGAnimation CGBitmap CGChooseColour CGGridCol CGGridCols CGGridRow CGGridRows CGListMenuPopup CGObject CGPalette CGParameter CGParameters CGTemplate CGTreeCol CGTreeCols CMemFile CMemFileDirectory CObjServer CSyncObject CWin32MessageWindow List of all members.

Public Member Functions

void CObjPersistent (void)
CObjPersistentcopy (bool copy_child)
void attribute_update (const TAttribute *attribute)
void attribute_update_end (void)
void selection_update (void)
void selection_update_end (void)
void attribute_set_string (const TAttribute *attribute, CString *string)
void attribute_set_string_element_index (const TAttribute *attribute, int attribute_element, int attribute_index, CString *string)
void attribute_get_string (const TAttribute *attribute, CString *string)
void attribute_get_string_element_index (const TAttribute *attribute, int attribute_element, int attribute_index, CString *string)
void attribute_set_text (const TAttribute *attribute, const char *text)
void attribute_set_text_element_index (const TAttribute *attribute, int attribtue_element, int attribute_index, const char *text)
int attribute_get_int (const TAttribute *attribute)
int attribute_get_int_element_index (const TAttribute *attribute, int attribute_element, int attribute_index)
void attribute_set_float (const TAttribute *attribute, float value)
float attribute_get_float (const TAttribute *attribute)
void attribute_set_int (const TAttribute *attribute, int value)
void attribute_set_int_element_index (const TAttribute *attribute, int attribute_element, int attribute_index, int value)
void attribute_refresh (void)
int attribute_array_count (const TAttribute *attribute)
bool attribute_default_get (const TAttribute *attribute)
void attribute_default_set (const TAttribute *attribute, bool is_default)
bool attribute_set_inherit (const TAttribute *attribute)
void attribute_list (ARRAY< const TAttribute * > *result, bool list_attribute, bool list_elements, bool list_menu)
int attribute_index_find (const TAttribute *attribute)
const TAttributeattribute_find (const char *attribute_name)
const TParameterelement_find (const char *element_name)
const TParameterdata_find (void)
bool child_alias_sibling_index (CObjPersistent *child, int *index)
CObjPersistentchild_alias_sibling_index_find (const char *alias, int index)
void state_xml_load (struct tag_CIOObject *stream)
void state_xml_store (struct tag_CIOObject *stream)

Public Attributes

 EXCEPTION<BadAttribute, BadConversion, XMLWriteError, AttributeTypeMismatch, SetError>

Protected Member Functions

virtual void notify_attribute_update (ARRAY< const TAttribute * > *attribute, bool changing)
virtual void notify_selection_update (bool changing)
virtual void notify_object_linkage (EObjectLinkage linkage, CObject *object)
virtual void notify_all_update (bool changing)

Private Member Functions

void new (void)
void ~CObjPersistent (void)
void attribute_set (const TAttribute *attribute, int attribute_element, int attribute_index, const TAttributeType *type, void *data)
void attribute_get (const TAttribute *attribute, int attribute_element, int attribute_index, const TAttributeType *type, void *data)
void attribute_default_refresh_all (CObjPersistent *object, const TAttribute *attribute)
void attribute_string_process (const TAttribute *attribute, CString *data)
void state_xml_store_obj (struct tag_CIOObject *stream, int depth)

Private Attributes

TBitfield attribute_default

Constructor & Destructor Documentation

void CObjPersistent::~CObjPersistent void   )  [private]
 

void CObjPersistent::CObjPersistent void   ) 
 


Member Function Documentation

int CObjPersistent::attribute_array_count const TAttribute attribute  ) 
 

bool CObjPersistent::attribute_default_get const TAttribute attribute  ) 
 

void CObjPersistent::attribute_default_refresh_all CObjPersistent object,
const TAttribute attribute
[private]
 

void CObjPersistent::attribute_default_set const TAttribute attribute,
bool  is_default
 

const TAttribute* CObjPersistent::attribute_find const char *  attribute_name  ) 
 

void CObjPersistent::attribute_get const TAttribute attribute,
int  attribute_element,
int  attribute_index,
const TAttributeType type,
void *  data
[private]
 

float CObjPersistent::attribute_get_float const TAttribute attribute  ) 
 

int CObjPersistent::attribute_get_int const TAttribute attribute  ) 
 

int CObjPersistent::attribute_get_int_element_index const TAttribute attribute,
int  attribute_element,
int  attribute_index
 

void CObjPersistent::attribute_get_string const TAttribute attribute,
CString string
 

void CObjPersistent::attribute_get_string_element_index const TAttribute attribute,
int  attribute_element,
int  attribute_index,
CString string
 

int CObjPersistent::attribute_index_find const TAttribute attribute  ) 
 

void CObjPersistent::attribute_list ARRAY< const TAttribute * > *  result,
bool  list_attribute,
bool  list_elements,
bool  list_menu
 

void CObjPersistent::attribute_refresh void   ) 
 

void CObjPersistent::attribute_set const TAttribute attribute,
int  attribute_element,
int  attribute_index,
const TAttributeType type,
void *  data
[private]
 

void CObjPersistent::attribute_set_float const TAttribute attribute,
float  value
 

bool CObjPersistent::attribute_set_inherit const TAttribute attribute  ) 
 

void CObjPersistent::attribute_set_int const TAttribute attribute,
int  value
 

void CObjPersistent::attribute_set_int_element_index const TAttribute attribute,
int  attribute_element,
int  attribute_index,
int  value
 

void CObjPersistent::attribute_set_string const TAttribute attribute,
CString string
 

void CObjPersistent::attribute_set_string_element_index const TAttribute attribute,
int  attribute_element,
int  attribute_index,
CString string
 

void CObjPersistent::attribute_set_text const TAttribute attribute,
const char *  text
 

void CObjPersistent::attribute_set_text_element_index const TAttribute attribute,
int  attribtue_element,
int  attribute_index,
const char *  text
 

void CObjPersistent::attribute_string_process const TAttribute attribute,
CString data
[private]
 

void CObjPersistent::attribute_update const TAttribute attribute  ) 
 

void CObjPersistent::attribute_update_end void   ) 
 

bool CObjPersistent::child_alias_sibling_index CObjPersistent child,
int *  index
 

CObjPersistent* CObjPersistent::child_alias_sibling_index_find const char *  alias,
int  index
 

CObjPersistent* CObjPersistent::copy bool  copy_child  ) 
 

const TParameter* CObjPersistent::data_find void   ) 
 

const TParameter* CObjPersistent::element_find const char *  element_name  ) 
 

void CObjPersistent::new void   )  [private, virtual]
 

Reimplemented from CObject.

Reimplemented in CGActiveXContainer, CGAnimation, CGAnimBind, CGAnimAnimate, CGAnimSet, CGAnimColour, CGAnimTransform, CGImage, CGCanvas, CGSelection, CGLayout, CGLayoutTab, CGObject, CGPrimative, CGPolyLine, CGPath, CGText, CGTemplate, CGParameter, CGPrimContainer, CGSymbol, CGUse, CGLink, CGWindow, CGChooseColour, CGDialogFileSelect, CGXULElement, CGVBox, CGHBox, CGButton, CGCheckBox, CGTextLabel, CGTextBox, CGListItem, CGMenuList, CGTreeCol, CGTree, CMemFile, CMemFileDirectory, CEventObjPersistent, CObjServer, CFrameworkServer, CThread, CThreadMain, and CWin32MessageWindow.

virtual void CObjPersistent::notify_all_update bool  changing  )  [protected, virtual]
 

Reimplemented in CGUse.

virtual void CObjPersistent::notify_attribute_update ARRAY< const TAttribute * > *  attribute,
bool  changing
[protected, virtual]
 

Reimplemented in CGCanvas, CGLayout, CGPalette, CGPrimative, CGParameter, CGUse, CGXULElement, CGContainer, CGPacker, CGBox, CGButton, CGColourPicker, CGSlider, CGTextLabel, CGTextBox, CGScrollBar, CGListItem, CGMenuList, and CGSplitter.

virtual void CObjPersistent::notify_object_linkage EObjectLinkage  linkage,
CObject object
[protected, virtual]
 

Reimplemented from CObject.

Reimplemented in CGAnimColour, CGAnimTransform, CGLayout, CGPrimContainer, CGUse, CGContainer, CGBox, CGTabBox, CGSplitter, and CMemFile.

virtual void CObjPersistent::notify_selection_update bool  changing  )  [protected, virtual]
 

void CObjPersistent::selection_update void   ) 
 

Reimplemented in CGSelection.

void CObjPersistent::selection_update_end void   ) 
 

void CObjPersistent::state_xml_load struct tag_CIOObject *  stream  ) 
 

void CObjPersistent::state_xml_store struct tag_CIOObject *  stream  ) 
 

void CObjPersistent::state_xml_store_obj struct tag_CIOObject *  stream,
int  depth
[private]
 


Member Data Documentation

TBitfield CObjPersistent::attribute_default [private]
 

CObjPersistent::EXCEPTION<BadAttribute, BadConversion, XMLWriteError, AttributeTypeMismatch, SetError>
 


The documentation for this class was generated from the following file:
Generated on Sat Feb 26 15:54:39 2005 for Keystone by  doxygen 1.4.1