Home
last modified time | relevance | path

Searched refs:requiredness (Results 1 – 6 of 6) sorted by relevance

/thrift-3.4.0/compiler/cpp/src/thrift/generate/
Dt_xml_generator.cc575 string requiredness; in generate_field() local
578 requiredness = "required"; in generate_field()
581 requiredness = "optional"; in generate_field()
584 requiredness = ""; in generate_field()
587 if (requiredness != "") { in generate_field()
588 write_attribute("required", requiredness); in generate_field()
Dt_erl_generator.cc1243 string requiredness = render_member_requiredness(member); in render_type_term() local
1244 buf << "{" << key << ", " << requiredness << ", " << type << ", " << atomify(name) << ", " in render_type_term()
/thrift-3.4.0/doc/specs/
Didl.md73 …union {} in C++. Consequently, union members are implicitly considered optional (see requiredness).
101 …explicit requiredness values, and a third one that is applied implicitly if neither *required* no…
105 The general rules for requiredness are as follows:
125 #### default requiredness (implicit)
131 Default requiredness is a good starting point. The desired behaviour is a mix of optional and requi…
/thrift-3.4.0/test/audit/
Dbreak7.thrift20 //break7 - requiredness removed in struct6
Dbreak8.thrift20 //break8 - requiredness addedd in struct5
/thrift-3.4.0/
DCHANGES.md2017 - [THRIFT-3756](https://issues.apache.org/jira/browse/THRIFT-3756) - Improve requiredness documenta…