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 fichier declare_attribute.hpp
+ Ce graphe montre quels fichiers incluent directement ou indirectement ce fichier :

Aller au code source de ce fichier.

Macros

#define DECLARE_ATTRIBUTE(type, name,...)
 ///////////////////////////// Macros ///////////////////////////// /// Plus de détails...
 
#define DECLARE_ATTRIBUTE_PRIVATE(type, name,...)
 
#define DECLARE_ARRAY(T_num, T_rank, name,...)
 
#define DECLARE_ARRAY_PRIVATE(T_num, T_rank, name,...)
 
#define DECLARE_CLASS_ENUM(name,...)
 
#define DECLARE_ENUM2(name, arg1, arg2)
 
#define DECLARE_ENUM3(name, arg1, arg2, arg3)
 
#define DECLARE_ENUM4(name, arg1, arg2, arg3, arg4)
 
#define DECLARE_ENUM5(name, arg1, arg2, arg3, arg4, arg5)
 
#define DECLARE_ENUM6(name, arg1, arg2, arg3, arg4, arg5, arg6)
 
#define DECLARE_ENUM7(name, arg1, arg2, arg3, arg4, arg5, arg6, arg7)
 
#define DECLARE_ENUM8(name, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8)
 
#define DECLARE_ENUM9(name, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9)
 
#define DECLARE_TYPE(name)
 
#define BEGIN_DECLARE_ATTRIBUTE_MAP(type)
 
#define END_DECLARE_ATTRIBUTE_MAP(type)
 

Documentation des macros

#define BEGIN_DECLARE_ATTRIBUTE_MAP (   type)
Valeur :
class type##Attributes : public virtual CAttributeMap \
{ \
public :

Définition à la ligne 163 du fichier declare_attribute.hpp.

#define DECLARE_ARRAY (   T_num,
  T_rank,
  name,
  ... 
)
Valeur :
class name##_attr : public CAttributeArray<T_num, T_rank> \
{ \
public : \
using CAttributeArray<T_num, T_rank>::operator = ; \
name##_attr(void) : CAttributeArray<T_num, T_rank> (#name, *CAttributeMap::Current) {} \
virtual bool doSend() const { return helper(__VA_ARGS__); } \
bool helper(bool returnTrue=true) const { return returnTrue; } \
virtual ~name##_attr(void) {} \
} name;

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

#define DECLARE_ARRAY_PRIVATE (   T_num,
  T_rank,
  name,
  ... 
)
Valeur :
class name##_attr : public CAttributeArray<T_num, T_rank> \
{ \
public : \
using CAttributeArray<T_num, T_rank>::operator = ; \
name##_attr(void) : CAttributeArray<T_num, T_rank> (#name, *CAttributeMap::Current) {} \
virtual bool isPublic() const \
{ return false; } \
virtual bool doSend() const { return helper(__VA_ARGS__); } \
bool helper(bool returnTrue=true) const { return returnTrue; } \
virtual ~name##_attr(void) {} \
} name;

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

#define DECLARE_ATTRIBUTE (   type,
  name,
  ... 
)
Valeur :
class name##_attr : public CAttributeTemplate<type> \
{ \
public : \
name##_attr(void) \
: CAttributeTemplate<type> \
(#name, *CAttributeMap::Current) \
{ /* Ne rien faire de plus */ } \
type operator=(const type & value) \
{ return (CAttributeTemplate<type>::operator=(value)); } \
virtual bool doSend() const { return helper(__VA_ARGS__); } \
bool helper(bool returnTrue=true) const { return returnTrue; } \
virtual ~name##_attr(void) \
{ /* Ne rien faire de plus */ } \
} name;

///////////////////////////// Macros ///////////////////////////// ///

Définition à la ligne 5 du fichier declare_attribute.hpp.

#define DECLARE_ATTRIBUTE_PRIVATE (   type,
  name,
  ... 
)
Valeur :
class name##_attr : public CAttributeTemplate<type> \
{ \
public : \
name##_attr(void) \
: CAttributeTemplate<type> \
(#name, *CAttributeMap::Current) \
{ /* Ne rien faire de plus */ } \
type operator=(const type & value) \
{ return (CAttributeTemplate<type>::operator=(value)); } \
virtual bool isPublic() const \
{ return false; } \
virtual bool doSend() const { return helper(__VA_ARGS__); } \
bool helper(bool returnTrue=true) const { return returnTrue; } \
virtual ~name##_attr(void) \
{ /* Ne rien faire de plus */ } \
} name;

Définition à la ligne 21 du fichier declare_attribute.hpp.

#define DECLARE_CLASS_ENUM (   name,
  ... 
)
Valeur :
class name##_attr : public CAttributeEnum<Enum_##name> \
{ \
public : \
name##_attr(void) : CAttributeEnum<Enum_##name>(#name, *CAttributeMap::Current) { } \
virtual bool doSend() const { return helper(__VA_ARGS__); } \
bool helper(bool returnTrue=true) const { return returnTrue; } \
virtual ~name##_attr(void) {} \
} name;

Définition à la ligne 63 du fichier declare_attribute.hpp.

#define DECLARE_ENUM2 (   name,
  arg1,
  arg2 
)
Valeur :
class Enum_##name \
{ \
public: \
enum t_enum { arg1=0, arg2} ; \
const char** getStr(void) const { static const char * enumStr[] = { #arg1, #arg2 } ; return enumStr ; } \
int getSize(void) const { return 2 ; } \
} ; \
#define DECLARE_CLASS_ENUM(name,...)

Définition à la ligne 73 du fichier declare_attribute.hpp.

#define DECLARE_ENUM3 (   name,
  arg1,
  arg2,
  arg3 
)
Valeur :
class Enum_##name \
{ \
public: \
enum t_enum { arg1=0, arg2, arg3} ; \
const char** getStr(void) const { static const char * enumStr[] = { #arg1, #arg2, #arg3 } ; return enumStr ; } \
int getSize(void) const { return 3 ; } \
} ; \
#define DECLARE_CLASS_ENUM(name,...)

Définition à la ligne 83 du fichier declare_attribute.hpp.

#define DECLARE_ENUM4 (   name,
  arg1,
  arg2,
  arg3,
  arg4 
)
Valeur :
class Enum_##name \
{ \
public: \
enum t_enum { arg1=0, arg2, arg3,arg4} ; \
const char** getStr(void) const { static const char * enumStr[] = { #arg1, #arg2, #arg3,#arg4 } ; return enumStr ; } \
int getSize(void) const { return 4 ; } \
} ; \
#define DECLARE_CLASS_ENUM(name,...)

Définition à la ligne 93 du fichier declare_attribute.hpp.

#define DECLARE_ENUM5 (   name,
  arg1,
  arg2,
  arg3,
  arg4,
  arg5 
)
Valeur :
class Enum_##name \
{ \
public: \
enum t_enum { arg1=0, arg2, arg3,arg4,arg5} ; \
const char** getStr(void) const { static const char * enumStr[] = { #arg1, #arg2, #arg3,#arg4,#arg5 } ; return enumStr ; } \
int getSize(void) const { return 5 ; } \
} ; \
#define DECLARE_CLASS_ENUM(name,...)

Définition à la ligne 103 du fichier declare_attribute.hpp.

#define DECLARE_ENUM6 (   name,
  arg1,
  arg2,
  arg3,
  arg4,
  arg5,
  arg6 
)
Valeur :
class Enum_##name \
{ \
public: \
enum t_enum { arg1=0, arg2, arg3,arg4,arg5,arg6} ; \
const char** getStr(void) const { static const char * enumStr[] = { #arg1, #arg2, #arg3,#arg4,#arg5,#arg6 } ; return enumStr ; } \
int getSize(void) const { return 6 ; } \
} ; \
#define DECLARE_CLASS_ENUM(name,...)

Définition à la ligne 113 du fichier declare_attribute.hpp.

#define DECLARE_ENUM7 (   name,
  arg1,
  arg2,
  arg3,
  arg4,
  arg5,
  arg6,
  arg7 
)
Valeur :
class Enum_##name \
{ \
public: \
enum t_enum { arg1=0, arg2, arg3,arg4,arg5,arg6,arg7} ; \
const char** getStr(void) const { static const char * enumStr[] = { #arg1, #arg2, #arg3,#arg4,#arg5,#arg6,#arg7 } ; return enumStr ; } \
int getSize(void) const { return 7 ; } \
} ; \
#define DECLARE_CLASS_ENUM(name,...)

Définition à la ligne 123 du fichier declare_attribute.hpp.

#define DECLARE_ENUM8 (   name,
  arg1,
  arg2,
  arg3,
  arg4,
  arg5,
  arg6,
  arg7,
  arg8 
)
Valeur :
class Enum_##name \
{ \
public: \
enum t_enum { arg1=0, arg2, arg3,arg4,arg5,arg6,arg7,arg8} ; \
const char** getStr(void) const { static const char * enumStr[] = { #arg1, #arg2, #arg3,#arg4,#arg5,#arg6,#arg7,#arg8 } ; return enumStr ; } \
int getSize(void) const { return 8 ; } \
} ; \
#define DECLARE_CLASS_ENUM(name,...)

Définition à la ligne 133 du fichier declare_attribute.hpp.

#define DECLARE_ENUM9 (   name,
  arg1,
  arg2,
  arg3,
  arg4,
  arg5,
  arg6,
  arg7,
  arg8,
  arg9 
)
Valeur :
class Enum_##name \
{ \
public: \
enum t_enum { arg1=0, arg2, arg3,arg4,arg5,arg6,arg7,arg8,arg9} ; \
const char** getStr(void) const { static const char * enumStr[] = { #arg1, #arg2, #arg3,#arg4,#arg5,#arg6,#arg7,#arg8,#arg9 } ; return enumStr ; } \
int getSize(void) const { return 9 ; } \
} ; \
#define DECLARE_CLASS_ENUM(name,...)

Définition à la ligne 143 du fichier declare_attribute.hpp.

#define DECLARE_TYPE (   name)
Valeur :
class Enum_##name \
{ \
public: \
enum t_enum { t_bool=0, t_int16, t_int, t_int32, t_int64, t_float, t_double, t_string }; \
const char** getStr(void) const { static const char * enumStr[] = { "bool", "int16", "int", "int32", "int64", "float", "double", "string" }; return enumStr; } \
int getSize(void) const { return 8; } \
}; \
#define DECLARE_CLASS_ENUM(name,...)

Définition à la ligne 153 du fichier declare_attribute.hpp.

#define END_DECLARE_ATTRIBUTE_MAP (   type)
Valeur :
type##Attributes (void) : CAttributeMap() \
{ /* Ne rien faire de plus */ } \
virtual ~type##Attributes (void) \
{ /* Ne rien faire de plus */ } \
};

Définition à la ligne 168 du fichier declare_attribute.hpp.