50 , auto_generated_(false)
64 , auto_generated_(false)
78 auto_generated_(auto_generated){}
80 static std::string auto_string_name(int32_t key) {
83 snprintf(buf, 20,
"str%d", key);
150 bool get_auto_generated()
const {
151 return auto_generated_;
154 void set_auto_generated(
bool auto_generated) {
155 auto_generated_ = auto_generated;
162 std::ostringstream keystm;
164 return keystm.str() +
":" +
181 virtual bool has_key_annotation()
const {
182 std::map<std::string, std::string>::const_iterator it;
189 virtual bool has_hidden_annotation()
const {
190 std::map<std::string, std::string>::const_iterator it;
212 bool auto_generated_;
const std::string & get_name() const
t_struct * get_xsd_attrs()
virtual std::string get_fingerprint_material() const =0
bool operator()(t_field const *const &a, t_field const *const &b)
t_type * get_type() const
void set_xsd_nillable(bool xsd_nillable)
bool get_xsd_optional() const
t_field(t_type *type, std::string name, int32_t key)
void set_xsd_optional(bool xsd_optional)
bool get_xsd_nillable() const
void set_xsd_attrs(t_struct *xsd_attrs)
void set_value(t_const_value *value)
std::string get_fingerprint_material() const
t_const_value * get_value()
std::map< std::string, std::string > annotations_
t_field(t_type *type, std::string name)