Rhino C++ API  8.13
Classes | Public Member Functions | Protected Member Functions | Friends | List of all members
ON_XMLParameters Class Reference

#include <opennurbs_xml.h>

Inheritance diagram for ON_XMLParameters:
ON_XMLParamBlock ON_XMLParametersV8

Classes

class  CIterator
 

Public Member Functions

 ON_XMLParameters (const ON_XMLNode &node)
 
 ON_XMLParameters (const ON_XMLParameters &)=delete
 
 ON_XMLParameters (ON_XMLNode &node)
 
virtual ~ON_XMLParameters ()
 
virtual ON_wString AsString (void) const
 
ON_XMLVariant GetParam (const wchar_t *param_name, const ON_XMLVariant &default_value) const
 Easy-to-use helper function. Returns 'default_value' if param is not found. More...
 
virtual bool GetParam (const wchar_t *param_name, ON_XMLVariant &param_value_out) const
 
CIteratorNewIterator (void) const
 
ON_XMLNodeNode (void)
 Expert access to the underlying XML node. More...
 
const ON_XMLNodeNode (void) const
 
const ON_XMLParametersoperator= (const ON_XMLParameters &)=delete
 
virtual void SetAsString (const wchar_t *s)
 
virtual void SetDefaultReadType (const wchar_t *type)
 
virtual ON_XMLNodeSetParam (const wchar_t *param_name, const ON_XMLVariant &param_value)
 
virtual void SetWriteTypeProperty (bool b)
 

Protected Member Functions

virtual void * EVF (const wchar_t *, void *)
 
virtual bool GetParamNode (const ON_XMLNode &node, ON_XMLVariant &param_value) const
 
virtual ON_XMLNodeObtainChildNodeForWrite (ON_XMLNode &node, const wchar_t *param_name) const
 
virtual ON_XMLNodeSetParamNode (ON_XMLNode &node, const wchar_t *param_name, const ON_XMLVariant &param_value)
 

Friends

class ON_XMLParametersIteratorPrivate
 

Constructor & Destructor Documentation

◆ ON_XMLParameters() [1/3]

ON_XMLParameters::ON_XMLParameters ( ON_XMLNode node)

◆ ON_XMLParameters() [2/3]

ON_XMLParameters::ON_XMLParameters ( const ON_XMLNode node)

◆ ON_XMLParameters() [3/3]

ON_XMLParameters::ON_XMLParameters ( const ON_XMLParameters )
delete

◆ ~ON_XMLParameters()

virtual ON_XMLParameters::~ON_XMLParameters ( )
virtual

Member Function Documentation

◆ AsString()

virtual ON_wString ON_XMLParameters::AsString ( void  ) const
virtual

◆ EVF()

virtual void* ON_XMLParameters::EVF ( const wchar_t *  ,
void *   
)
protectedvirtual

◆ GetParam() [1/2]

ON_XMLVariant ON_XMLParameters::GetParam ( const wchar_t *  param_name,
const ON_XMLVariant default_value 
) const

Easy-to-use helper function. Returns 'default_value' if param is not found.

◆ GetParam() [2/2]

virtual bool ON_XMLParameters::GetParam ( const wchar_t *  param_name,
ON_XMLVariant param_value_out 
) const
virtual

Reimplemented in ON_XMLParametersV8.

◆ GetParamNode()

virtual bool ON_XMLParameters::GetParamNode ( const ON_XMLNode node,
ON_XMLVariant param_value 
) const
protectedvirtual

◆ NewIterator()

CIterator* ON_XMLParameters::NewIterator ( void  ) const

◆ Node() [1/2]

ON_XMLNode& ON_XMLParameters::Node ( void  )

Expert access to the underlying XML node.

◆ Node() [2/2]

const ON_XMLNode& ON_XMLParameters::Node ( void  ) const

◆ ObtainChildNodeForWrite()

virtual ON_XMLNode* ON_XMLParameters::ObtainChildNodeForWrite ( ON_XMLNode node,
const wchar_t *  param_name 
) const
protectedvirtual

Reimplemented in ON_XMLParametersV8.

◆ operator=()

const ON_XMLParameters& ON_XMLParameters::operator= ( const ON_XMLParameters )
delete

◆ SetAsString()

virtual void ON_XMLParameters::SetAsString ( const wchar_t *  s)
virtual

◆ SetDefaultReadType()

virtual void ON_XMLParameters::SetDefaultReadType ( const wchar_t *  type)
virtual

◆ SetParam()

virtual ON_XMLNode* ON_XMLParameters::SetParam ( const wchar_t *  param_name,
const ON_XMLVariant param_value 
)
virtual

◆ SetParamNode()

virtual ON_XMLNode* ON_XMLParameters::SetParamNode ( ON_XMLNode node,
const wchar_t *  param_name,
const ON_XMLVariant param_value 
)
protectedvirtual

◆ SetWriteTypeProperty()

virtual void ON_XMLParameters::SetWriteTypeProperty ( bool  b)
virtual

Friends And Related Function Documentation

◆ ON_XMLParametersIteratorPrivate

friend class ON_XMLParametersIteratorPrivate
friend