XIOS  1.0
Xml I/O Server
 Tout Classes Espaces de nommage Fichiers Fonctions Variables Définitions de type Énumérations Valeurs énumérées Amis Macros
Référence du modèle de la classe xios::CType< T >

#include <type.hpp>

+ Graphe d'héritage de xios::CType< T >:
+ Graphe de collaboration de xios::CType< T >:

Fonctions membres publiques

 CType (void)
 
 CType (const T &val)
 
 CType (const CType &type)
 
 CType (const CType_ref< T > &type)
 
virtual ~CType ()
 
T & get (void)
 
const T & get (void) const
 
void set (const T &val)
 
void set (const CType &val)
 
void set (const CType_ref< T > &val)
 
CTypeoperator= (const T &val)
 
CTypeoperator= (const CType &val)
 
CTypeoperator= (const CType_ref< T > &val)
 
 operator T & ()
 
 operator const T & () const
 
virtual CBaseTypeclone (void) const
 
virtual void fromString (const string &str)
 
virtual string toString (void) const
 
virtual string dump (void) const
 
virtual bool fromBuffer (CBufferIn &buffer)
 
virtual bool toBuffer (CBufferOut &buffer) const
 
virtual void reset (void)
 
virtual bool isEmpty () const
 
virtual size_t size (void) const
 
void allocate (void)
 
virtual void checkEmpty (void) const
 
- Fonctions membres publiques inherited from xios::CBaseType
 CBaseType (void)
 
virtual ~CBaseType ()
 

Attributs publics

T * ptrValue
 
bool empty
 

Fonctions membres privées

CType_clone (void) const
 
void _fromString (const string &str)
 
string _toString (void) const
 
bool _fromBuffer (CBufferIn &buffer)
 
bool _toBuffer (CBufferOut &buffer) const
 
void _reset (void)
 
bool _isEmpty () const
 
void _checkEmpty (void) const
 
size_t _size (void) const
 
template<>
void _fromString (const string &str)
 
template<>
string _toString (void) const
 
template<>
size_t _size () const
 
template<>
void _fromString (const string &str)
 
template<>
bool _toBuffer (CBufferOut &buffer) const
 
template<>
bool _fromBuffer (CBufferIn &buffer)
 
template<>
size_t _size () const
 
template<>
bool _toBuffer (CBufferOut &buffer) const
 
template<>
bool _fromBuffer (CBufferIn &buffer)
 
template<>
size_t _size () const
 
template<>
bool _toBuffer (CBufferOut &buffer) const
 
template<>
bool _fromBuffer (CBufferIn &buffer)
 

Amis

class CType_ref< T >
 

Description détaillée

template<typename T>
class xios::CType< T >

Définition à la ligne 17 du fichier type.hpp.

Documentation des constructeurs et destructeur

template<typename T >
xios::CType< T >::CType ( void  )

Définition à la ligne 19 du fichier type_impl.hpp.

template<typename T >
xios::CType< T >::CType ( const T &  val)

Définition à la ligne 25 du fichier type_impl.hpp.

template<typename T >
xios::CType< T >::CType ( const CType< T > &  type)

Définition à la ligne 32 du fichier type_impl.hpp.

template<typename T >
xios::CType< T >::CType ( const CType_ref< T > &  type)

Définition à la ligne 39 du fichier type_impl.hpp.

template<typename T>
virtual xios::CType< T >::~CType ( )
inlinevirtual

Définition à la ligne 25 du fichier type.hpp.

Références xios::CType< T >::_reset().

+ Voici le graphe d'appel pour cette fonction :

Documentation des fonctions membres

template<typename T >
void xios::CType< T >::_checkEmpty ( void  ) const
private

Définition à la ligne 208 du fichier type_impl.hpp.

Références xios::ERROR.

template<typename T >
CType< T > * xios::CType< T >::_clone ( void  ) const
private

Définition à la ligne 136 du fichier type_impl.hpp.

Référencé par xios::CType< T >::clone().

+ Voici le graphe des appelants de cette fonction :

template<typename T >
bool xios::CType< T >::_fromBuffer ( CBufferIn buffer)
private

Définition à la ligne 180 du fichier type_impl.hpp.

Références xios::CBufferIn::get().

Référencé par xios::CType< T >::fromBuffer().

+ Voici le graphe d'appel pour cette fonction :

+ Voici le graphe des appelants de cette fonction :

template<>
bool xios::CType< string >::_fromBuffer ( CBufferIn buffer)
private

Définition à la ligne 124 du fichier type_specialisation.hpp.

Références xios::CBufferIn::advance(), xios::CBufferIn::get(), et xios::CBufferIn::ptr().

+ Voici le graphe d'appel pour cette fonction :

template<>
bool xios::CType< CDate >::_fromBuffer ( CBufferIn buffer)
private

Définition à la ligne 218 du fichier type_specialisation.hpp.

Références xios::CBufferIn::get().

+ Voici le graphe d'appel pour cette fonction :

template<>
bool xios::CType< CDuration >::_fromBuffer ( CBufferIn buffer)
private

Définition à la ligne 344 du fichier type_specialisation.hpp.

Références xios::CBufferIn::get().

+ Voici le graphe d'appel pour cette fonction :

template<>
void xios::CType< bool >::_fromString ( const string &  str)
private

Définition à la ligne 18 du fichier type_specialisation.hpp.

Références xios::ERROR.

template<typename T >
void xios::CType< T >::_fromString ( const string &  str)
private

Définition à la ligne 144 du fichier type_impl.hpp.

Référencé par xios::CType< T >::fromString().

+ Voici le graphe des appelants de cette fonction :

template<>
void xios::CType< string >::_fromString ( const string &  str)
private

Définition à la ligne 75 du fichier type_specialisation.hpp.

template<typename T >
bool xios::CType< T >::_isEmpty ( void  ) const
private

Définition à la ligne 158 du fichier type_impl.hpp.

Référencé par xios::CType< T >::isEmpty().

+ Voici le graphe des appelants de cette fonction :

template<typename T >
void xios::CType< T >::_reset ( void  )
private

Définition à la ligne 198 du fichier type_impl.hpp.

Référencé par xios::CType< T >::reset(), et xios::CType< T >::~CType().

+ Voici le graphe des appelants de cette fonction :

template<>
size_t xios::CType< string >::_size ( void  ) const
private

Définition à la ligne 57 du fichier type_specialisation.hpp.

template<typename T >
size_t xios::CType< T >::_size ( void  ) const
private

Définition à la ligne 152 du fichier type_impl.hpp.

Référencé par xios::CType< T >::size().

+ Voici le graphe des appelants de cette fonction :

template<>
size_t xios::CType< CDate >::_size ( void  ) const
private

Définition à la ligne 172 du fichier type_specialisation.hpp.

template<>
size_t xios::CType< CDuration >::_size ( void  ) const
private

Définition à la ligne 296 du fichier type_specialisation.hpp.

template<typename T >
bool xios::CType< T >::_toBuffer ( CBufferOut buffer) const
private

Définition à la ligne 173 du fichier type_impl.hpp.

Références xios::CBufferOut::put().

Référencé par xios::CType< T >::toBuffer().

+ Voici le graphe d'appel pour cette fonction :

+ Voici le graphe des appelants de cette fonction :

template<>
bool xios::CType< string >::_toBuffer ( CBufferOut buffer) const
private

Définition à la ligne 96 du fichier type_specialisation.hpp.

Références xios::CBufferOut::put(), et xios::CBufferOut::remain().

+ Voici le graphe d'appel pour cette fonction :

template<>
bool xios::CType< CDate >::_toBuffer ( CBufferOut buffer) const
private

Définition à la ligne 184 du fichier type_specialisation.hpp.

Références xios::CBufferOut::put(), et xios::CBufferOut::remain().

+ Voici le graphe d'appel pour cette fonction :

template<>
bool xios::CType< CDuration >::_toBuffer ( CBufferOut buffer) const
private

Définition à la ligne 308 du fichier type_specialisation.hpp.

Références xios::CBufferOut::put(), et xios::CBufferOut::remain().

+ Voici le graphe d'appel pour cette fonction :

template<>
string xios::CType< bool >::_toString ( void  ) const
private

Définition à la ligne 26 du fichier type_specialisation.hpp.

template<typename T >
string xios::CType< T >::_toString ( void  ) const
private

Définition à la ligne 164 du fichier type_impl.hpp.

Référencé par xios::CType< T >::dump(), et xios::CType< T >::toString().

+ Voici le graphe des appelants de cette fonction :

template<typename T >
void xios::CType< T >::allocate ( void  )

Définition à la ligne 188 du fichier type_impl.hpp.

template<typename T>
virtual void xios::CType< T >::checkEmpty ( void  ) const
inlinevirtual

Réimplémentée dans xios::CAttributeTemplate< T >.

Définition à la ligne 50 du fichier type.hpp.

template<typename T>
virtual CBaseType* xios::CType< T >::clone ( void  ) const
inlinevirtual

Implémente xios::CBaseType.

Définition à la ligne 39 du fichier type.hpp.

Références xios::CType< T >::_clone().

+ Voici le graphe d'appel pour cette fonction :

template<typename T>
virtual string xios::CType< T >::dump ( void  ) const
inlinevirtual

Réimplémentée dans xios::CAttributeTemplate< T >.

Définition à la ligne 42 du fichier type.hpp.

Références xios::CType< T >::_toString().

Référencé par xios::CAttributeTemplate< T >::_dump().

+ Voici le graphe d'appel pour cette fonction :

+ Voici le graphe des appelants de cette fonction :

template<typename T>
virtual bool xios::CType< T >::fromBuffer ( CBufferIn buffer)
inlinevirtual

Implémente xios::CBaseType.

Réimplémentée dans xios::CAttributeTemplate< T >.

Définition à la ligne 43 du fichier type.hpp.

Références xios::CType< T >::_fromBuffer().

Référencé par xios::CAttributeTemplate< T >::_fromBuffer(), et xios::operator>>().

+ Voici le graphe d'appel pour cette fonction :

+ Voici le graphe des appelants de cette fonction :

template<typename T>
virtual void xios::CType< T >::fromString ( const string &  str)
inlinevirtual

Implémente xios::CBaseType.

Réimplémentée dans xios::CAttributeTemplate< T >.

Définition à la ligne 40 du fichier type.hpp.

Références xios::CType< T >::_fromString().

Référencé par xios::CAttributeTemplate< T >::_fromString(), et xios::CScalarValExprNode::reduce().

+ Voici le graphe d'appel pour cette fonction :

+ Voici le graphe des appelants de cette fonction :

template<typename T >
T & xios::CType< T >::get ( void  )

Définition à la ligne 87 du fichier type_impl.hpp.

Référencé par xios::CAttributeTemplate< T >::getValue(), xios::CType_ref< T >::set(), et xios::CType_ref< T >::set_ref().

+ Voici le graphe des appelants de cette fonction :

template<typename T >
const T & xios::CType< T >::get ( void  ) const

Définition à la ligne 94 du fichier type_impl.hpp.

template<typename T>
virtual bool xios::CType< T >::isEmpty ( void  ) const
inlinevirtual

Implémente xios::CBaseType.

Définition à la ligne 46 du fichier type.hpp.

Références xios::CType< T >::_isEmpty().

Référencé par xios::operator==(), et xios::CType< T >::set().

+ Voici le graphe d'appel pour cette fonction :

+ Voici le graphe des appelants de cette fonction :

template<typename T >
xios::CType< T >::operator const T & ( ) const

Définition à la ligne 129 du fichier type_impl.hpp.

template<typename T >
xios::CType< T >::operator T & ( )

Définition à la ligne 122 du fichier type_impl.hpp.

template<typename T >
CType< T > & xios::CType< T >::operator= ( const T &  val)

Définition à la ligne 101 du fichier type_impl.hpp.

template<typename T >
CType< T > & xios::CType< T >::operator= ( const CType< T > &  val)

Définition à la ligne 108 du fichier type_impl.hpp.

template<typename T >
CType< T > & xios::CType< T >::operator= ( const CType_ref< T > &  val)

Définition à la ligne 115 du fichier type_impl.hpp.

template<typename T>
virtual void xios::CType< T >::reset ( void  )
inlinevirtual

Implémente xios::CBaseType.

Réimplémentée dans xios::CAttributeTemplate< T >.

Définition à la ligne 45 du fichier type.hpp.

Références xios::CType< T >::_reset().

Référencé par xios::CAttributeTemplate< T >::reset().

+ Voici le graphe d'appel pour cette fonction :

+ Voici le graphe des appelants de cette fonction :

template<typename T >
void xios::CType< T >::set ( const T &  val)

Définition à la ligne 46 du fichier type_impl.hpp.

Référencé par xios::CAttributeTemplate< T >::set(), et xios::CAttributeTemplate< T >::setValue().

+ Voici le graphe des appelants de cette fonction :

template<typename T >
void xios::CType< T >::set ( const CType< T > &  val)

Définition à la ligne 57 du fichier type_impl.hpp.

Références xios::CType< T >::isEmpty(), et xios::CType< T >::ptrValue.

+ Voici le graphe d'appel pour cette fonction :

template<typename T >
void xios::CType< T >::set ( const CType_ref< T > &  val)

Définition à la ligne 72 du fichier type_impl.hpp.

Références xios::CType_ref< T >::isEmpty(), et xios::CType_ref< T >::ptrValue.

+ Voici le graphe d'appel pour cette fonction :

template<typename T>
virtual size_t xios::CType< T >::size ( void  ) const
inlinevirtual

Implémente xios::CBaseType.

Définition à la ligne 47 du fichier type.hpp.

Références xios::CType< T >::_size().

+ Voici le graphe d'appel pour cette fonction :

template<typename T>
virtual bool xios::CType< T >::toBuffer ( CBufferOut buffer) const
inlinevirtual

Implémente xios::CBaseType.

Réimplémentée dans xios::CAttributeTemplate< T >.

Définition à la ligne 44 du fichier type.hpp.

Références xios::CType< T >::_toBuffer().

Référencé par xios::CAttributeTemplate< T >::_toBuffer().

+ Voici le graphe d'appel pour cette fonction :

+ Voici le graphe des appelants de cette fonction :

template<typename T>
virtual string xios::CType< T >::toString ( void  ) const
inlinevirtual

Implémente xios::CBaseType.

Réimplémentée dans xios::CAttributeTemplate< T >.

Définition à la ligne 41 du fichier type.hpp.

Références xios::CType< T >::_toString().

Référencé par xios::CAttributeTemplate< T >::_toString().

+ Voici le graphe d'appel pour cette fonction :

+ Voici le graphe des appelants de cette fonction :

Documentation des fonctions amies et associées

template<typename T>
friend class CType_ref< T >
friend

Définition à la ligne 55 du fichier type.hpp.

Documentation des données membres

template<typename T>
bool xios::CType< T >::empty

Définition à la ligne 53 du fichier type.hpp.

template<typename T>
T* xios::CType< T >::ptrValue

Définition à la ligne 50 du fichier type.hpp.

Référencé par xios::operator==(), et xios::CType< T >::set().


La documentation de cette classe a été générée à partir des fichiers suivants :