g4tools  5.4.0
Classes | Namespaces | Macros
field File Reference
#include <ostream>
#include "../scast"
#include "../S_STRING"
Include dependency graph for field:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  tools::sg::field
 

Namespaces

 tools
 inlined C code : ///////////////////////////////////
 
 tools::io
 
 tools::sg
 

Macros

#define tools_sg_field
 
#define TOOLS_FIELD_DESC_NODE_CLASS(a__class)    static const std::string s_node_class(#a__class);
 
#define TOOLS_ARG_FIELD_DESC(a__field)    new tools::sg::field_desc(s_node_class+"."+#a__field,this->a__field.s_cls(),(char*)((tools::sg::field*)&(this->a__field))-(char*)((tools::sg::node*)this),true)
 
#define TOOLS_ARG_FIELD_DESC_NOT_EDITABLE(a__field)    new tools::sg::field_desc(s_node_class+"."+#a__field,this->a__field.s_cls(),(char*)((tools::sg::field*)&(this->a__field))-(char*)((tools::sg::node*)this),false)
 
#define TOOLS_ARG_FIELD_DESC_ENUMS_BEG(a__field, a__num)    new tools::sg::field_desc_enums(s_node_class+"."+#a__field,this->a__field.s_cls(),(char*)((tools::sg::field*)&(this->a__field))-(char*)((tools::sg::node*)this),true,a__num,
 
#define TOOLS_ARG_FIELD_DESC_ENUMS_END   )
 
#define TOOLS_ARG_FIELD_DESC_NOT_EDITABLE_ENUMS_BEG(a__field, a__num)    new tools::sg::field_desc_enums(s_node_class+"."+#a__field,this->a__field.s_cls(),(char*)((tools::sg::field*)&(this->a__field))-(char*)((tools::sg::node*)this),false,a__num,
 
#define TOOLS_ARG_FIELD_DESC_ENUMS_END   )
 
#define TOOLS_ARG_ENUM(a__value)   #a__value,a__value
 
#define TOOLS_ARG_FIELD_DESC_OPTS_BEG(a__field, a__num)    new tools::sg::field_desc_opts(s_node_class+"."+#a__field,this->a__field.s_cls(),(char*)((tools::sg::field*)&(this->a__field))-(char*)((tools::sg::node*)this),true,a__num,
 
#define TOOLS_ARG_FIELD_DESC_OPTS_END   )
 

Macro Definition Documentation

◆ TOOLS_ARG_ENUM

#define TOOLS_ARG_ENUM (   a__value)    #a__value,a__value

Definition at line 85 of file field.

◆ TOOLS_ARG_FIELD_DESC

#define TOOLS_ARG_FIELD_DESC (   a__field)     new tools::sg::field_desc(s_node_class+"."+#a__field,this->a__field.s_cls(),(char*)((tools::sg::field*)&(this->a__field))-(char*)((tools::sg::node*)this),true)

Definition at line 71 of file field.

◆ TOOLS_ARG_FIELD_DESC_ENUMS_BEG

#define TOOLS_ARG_FIELD_DESC_ENUMS_BEG (   a__field,
  a__num 
)     new tools::sg::field_desc_enums(s_node_class+"."+#a__field,this->a__field.s_cls(),(char*)((tools::sg::field*)&(this->a__field))-(char*)((tools::sg::node*)this),true,a__num,

Definition at line 77 of file field.

◆ TOOLS_ARG_FIELD_DESC_ENUMS_END [1/2]

#define TOOLS_ARG_FIELD_DESC_ENUMS_END   )

Definition at line 83 of file field.

◆ TOOLS_ARG_FIELD_DESC_ENUMS_END [2/2]

#define TOOLS_ARG_FIELD_DESC_ENUMS_END   )

Definition at line 83 of file field.

◆ TOOLS_ARG_FIELD_DESC_NOT_EDITABLE

#define TOOLS_ARG_FIELD_DESC_NOT_EDITABLE (   a__field)     new tools::sg::field_desc(s_node_class+"."+#a__field,this->a__field.s_cls(),(char*)((tools::sg::field*)&(this->a__field))-(char*)((tools::sg::node*)this),false)

Definition at line 74 of file field.

◆ TOOLS_ARG_FIELD_DESC_NOT_EDITABLE_ENUMS_BEG

#define TOOLS_ARG_FIELD_DESC_NOT_EDITABLE_ENUMS_BEG (   a__field,
  a__num 
)     new tools::sg::field_desc_enums(s_node_class+"."+#a__field,this->a__field.s_cls(),(char*)((tools::sg::field*)&(this->a__field))-(char*)((tools::sg::node*)this),false,a__num,

Definition at line 81 of file field.

◆ TOOLS_ARG_FIELD_DESC_OPTS_BEG

#define TOOLS_ARG_FIELD_DESC_OPTS_BEG (   a__field,
  a__num 
)     new tools::sg::field_desc_opts(s_node_class+"."+#a__field,this->a__field.s_cls(),(char*)((tools::sg::field*)&(this->a__field))-(char*)((tools::sg::node*)this),true,a__num,

Definition at line 87 of file field.

◆ TOOLS_ARG_FIELD_DESC_OPTS_END

#define TOOLS_ARG_FIELD_DESC_OPTS_END   )

Definition at line 89 of file field.

◆ TOOLS_FIELD_DESC_NODE_CLASS

#define TOOLS_FIELD_DESC_NODE_CLASS (   a__class)     static const std::string s_node_class(#a__class);

Definition at line 68 of file field.

◆ tools_sg_field

#define tools_sg_field

Definition at line 5 of file field.