47 static const vector<string> bts {
"mandatory",
"present",
"position",
"group",
"component",
"suppress",
"automatic" };
48 os <<
"Tag:" << what.
_fnum <<
" Type:" << what.
_ftype <<
" (";
51 os <<
") Pos:" << what.
_pos;
57 os << bts[pos] <<
' ';
integral_type get() const
static F8API std::string & get_type_string(FieldType ftype, std::string &to)
static bool is_char(FieldType ftype)
const Presence & get_presence() const
std::ostream & operator<<(std::ostream &os, const GroupBase &what)
Used for static trait interrogation.
static bool is_float(FieldType ftype)
unsigned short _component
ebitset< TraitTypes, unsigned short > _field_traits
static bool is_int(FieldType ftype)
static bool is_string(FieldType ftype)
A collection of FieldTraits for a message. Which fields are required, which are present.