Thread portable class


Gate portable class


Timer class


Pool class


Terimber 2.0


About C++


Downloads Products & Services Support Clients Open Source About



Home / Open source / Terimber 2.0

attributeDecl Class Reference

attribute description More...

#include <sxs.h>

Inheritance diagram for attributeDecl:

namedNodeDecl nodeDecl namedNode

List of all members.

Public Member Functions

 attributeDecl (const char *name, byte_allocator *allocator_)
 constructor
 attributeDecl (const attributeDecl &x)
 copy constructor
const char * persist_attribute (const terimber_xml_value &value, byte_allocator *allocator_) const
 persists attribute value correctly

Public Attributes

attributeType _atype
 attrbute type CDATA, ENTITY, ...
vt_types _ctype
 types like vt_sb4, ...
_list< enumNodeDecl_enum
 enum of values if applied
string_t _defval
 default value if applied
attributeRule _rule
 rule

Private Member Functions

attributeDecloperator= (const attributeDecl &x)
 private assign operator


Detailed Description

attribute description

Definition at line 195 of file sxs.h.


Constructor & Destructor Documentation

attributeDecl::attributeDecl ( const char *  name,
byte_allocator allocator_ 
)

constructor

Parameters:
name  attribute name
allocator_  optional external operator

Definition at line 103 of file sxs.cpp.

attributeDecl::attributeDecl ( const attributeDecl x  ) 

copy constructor

Definition at line 112 of file sxs.cpp.


Member Function Documentation

attributeDecl& attributeDecl::operator= ( const attributeDecl x  )  [private]

private assign operator

const char * attributeDecl::persist_attribute ( const terimber_xml_value value,
byte_allocator allocator_ 
) const

persists attribute value correctly

Parameters:
value  input xml value
allocator_  external allocator

Definition at line 123 of file sxs.cpp.

References _ctype, _enum, base_list< T >::begin(), base_list< T >::end(), _terimber_xml_value_::lVal, persist_value(), _terimber_xml_value_::strVal, vt_enum, and vt_string.

Referenced by xml_designer_impl::get_value(), xml_value_node::persist(), and xml_persistor::persistAttributes().


Member Data Documentation


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


© Copyright Terimber 2003-.