53 , auto_generated_(false)
67 , auto_generated_(false)
81 auto_generated_(auto_generated){}
83 static std::string auto_string_name(int32_t key) {
86 snprintf(buf, 20,
"str%d", key);
153 bool get_auto_generated()
const {
154 return auto_generated_;
157 void set_auto_generated(
bool auto_generated) {
158 auto_generated_ = auto_generated;
165 std::ostringstream keystm;
167 return keystm.str() +
":" +
184 virtual bool has_key_annotation()
const {
185 std::map<std::string, std::string>::const_iterator it;
192 virtual bool has_hidden_annotation()
const {
193 std::map<std::string, std::string>::const_iterator it;
215 bool auto_generated_;
t_field(t_type *type, std::string name)
t_const_value * get_value()
const std::string & get_name() const
t_type * get_type() const
t_field(t_type *type, std::string name, int32_t key)
bool get_xsd_nillable() const
void set_value(t_const_value *value)
bool get_xsd_optional() const
t_struct * get_xsd_attrs()
std::string get_fingerprint_material() const
std::map< std::string, std::string > annotations_
void set_xsd_optional(bool xsd_optional)
void set_xsd_nillable(bool xsd_nillable)
void set_xsd_attrs(t_struct *xsd_attrs)
virtual std::string get_fingerprint_material() const =0
bool operator()(t_field const *const &a, t_field const *const &b) const