StarEngine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Protected Attributes | List of all members
star::XMLContainer Class Reference

#include <XMLContainer.h>

Inheritance diagram for star::XMLContainer:
Inheritance graph
Collaboration diagram for star::XMLContainer:
Collaboration graph

Public Member Functions

 XMLContainer ()
 
 XMLContainer (const XMLContainer &yRef)
 
 ~XMLContainer ()
 
XMLContaineroperator= (const XMLContainer &yRef)
 
Dictionary< tstring, tstring > & GetAttributes ()
 
const tstringGetValue () const
 
const tstringGetName () const
 
void SetValue (const tstring &value)
 
void SetName (const tstring &name)
 
void clear ()
 
void swap (XMLContainer &yRef)
 
- Public Member Functions inherited from star::Dictionary< tstring, std::shared_ptr< XMLContainer > >
 Dictionary ()
 
 Dictionary (const Dictionary &yRef)
 
 Dictionary (Dictionary &&yRef)
 
 Dictionary (iterator begin, iterator end)
 
 ~Dictionary ()
 
Dictionary< tstring,
std::shared_ptr< XMLContainer > > & 
operator= (const Dictionary< tstring, std::shared_ptr< XMLContainer > > &yRef)
 
Dictionary< tstring,
std::shared_ptr< XMLContainer > > & 
operator= (Dictionary< tstring, std::shared_ptr< XMLContainer > > &&yRef)
 
std::shared_ptr< XMLContainer > & operator[] (const tstring &key)
 
std::shared_ptr< XMLContainer > & operator[] (dki_pair &ki_pair)
 
std::shared_ptr< XMLContainer > & at (const tstring &key)
 
std::shared_ptr< XMLContainer > & at (dki_pair &ki_pair)
 
std::shared_ptr< XMLContainer > & at (const tstring &key, size_type index)
 
iterator begin ()
 
iterator end ()
 
const_interator cbegin () const
 
const_interator cend () const
 
iterator find (const tstring &key) const
 
size_type count (const tstring &key) const
 
const_interator lower_bound (const tstring &key) const
 
const_interator upper_bound (const tstring &key) const
 
iterator insert (const std::shared_ptr< XMLContainer > &value)
 
iterator insert (std::shared_ptr< XMLContainer > &&value)
 
iterator insert (const_interator hint, const value_type &value)
 
iterator insert (const_interator hint, value_type &&value)
 
iterator insert (const dkv_pair &kv_pair)
 
iterator erase (const_interator position)
 
size_type erase (const key_type &key)
 
iterator erase (const_interator first, const_interator last)
 
void clear ()
 
void swap (Dictionary< tstring, std::shared_ptr< XMLContainer > > &yRef)
 
bool empty () const
 
size_type size () const
 
size_type max_size () const
 

Protected Attributes

tstring m_Value
 
tstring m_Name
 
Dictionary< tstring, tstringm_Attributes
 
- Protected Attributes inherited from star::Dictionary< tstring, std::shared_ptr< XMLContainer > >
dictionary m_MultiMap
 

Additional Inherited Members

- Public Types inherited from star::Dictionary< tstring, std::shared_ptr< XMLContainer > >
typedef
std::unordered_multimap
< tstring, std::shared_ptr
< XMLContainer > > 
dictionary
 
typedef dictionary::iterator iterator
 
typedef dictionary::const_iterator const_interator
 
typedef tstring key_type
 
typedef std::shared_ptr
< XMLContainer
value_type
 
typedef uint32 size_type
 
typedef dictionary::reference reference
 
typedef dictionary::const_reference const_reference
 
typedef dictionary::difference_type difference_type
 
typedef dictionary::allocator_type allocator_type
 
typedef dictionary::mapped_type mapped_type
 
typedef std::pair< tstring,
std::shared_ptr< XMLContainer > > 
dkv_pair
 
typedef std::pair< tstring,
size_type
dki_pair
 
typedef std::pair< typename
dictionary::iterator, typename
dictionary::iterator > 
dictionary_pair
 

Constructor & Destructor Documentation

star::XMLContainer::XMLContainer ( )
star::XMLContainer::XMLContainer ( const XMLContainer yRef)
star::XMLContainer::~XMLContainer ( )

Member Function Documentation

void star::XMLContainer::clear ( )
Dictionary< tstring, tstring > & star::XMLContainer::GetAttributes ( )
const tstring & star::XMLContainer::GetName ( ) const
const tstring & star::XMLContainer::GetValue ( ) const
XMLContainer & star::XMLContainer::operator= ( const XMLContainer yRef)
void star::XMLContainer::SetName ( const tstring name)
void star::XMLContainer::SetValue ( const tstring value)
void star::XMLContainer::swap ( XMLContainer yRef)

Member Data Documentation

Dictionary<tstring, tstring> star::XMLContainer::m_Attributes
protected
tstring star::XMLContainer::m_Name
protected
tstring star::XMLContainer::m_Value
protected

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