Lines Matching defs:member
40 // Note that the |kFields| member is a constexpr, which creates a compile-time
44 // To access the declared members, there is a |Get()| member function template
48 // get a reference to the member within a struct instance. This can be used to
117 // |FieldSpec| describes a member field of the struct type |Struct|. The
118 // template parameters capture the C++ |Member| type of the |Struct| member that
128 constexpr FieldSpec(uint32_t field_number, MemberType Struct::* member)
129 : kFieldNumber(field_number), kMember(member) {}
142 // A member pointer to the |Struct| member that holds the field data.
150 Member Struct::*member) {
151 return FieldSpec<Struct, Member>(field_number, member);
161 // a |TaggedUnion| struct member. In addition to the field number and member
163 // that selects the |TaggedUnion| member which corresponds to the field.
170 TaggedUnionType Struct::*member,
172 : FieldSpec<Struct, TaggedUnionType>(field_number, member), kTag(tag) {}
174 // The |TaggedUnion| tag corresponding to the |TaggedUnion| member that holds
184 TaggedUnion<TagType, Member...> Struct::*member,
186 return OneOfFieldSpec<Struct, TagType, Member...>(field_number, member, tag);