Home | History | Annotate | Download | only in json

Lines Matching full:structtype

91 template <typename StructType>
96 template<typename StructType>
101 virtual bool ConvertField(const base::Value& value, StructType* obj)
117 template <typename StructType, typename FieldType>
118 class FieldConverter : public FieldConverterBase<StructType> {
121 FieldType StructType::* field,
123 : FieldConverterBase<StructType>(path),
128 bool ConvertField(const base::Value& value, StructType* dst) const override {
133 FieldType StructType::* field_pointer_;
359 template <class StructType>
363 StructType::RegisterJSONConverter(this);
367 int StructType::* field) {
368 fields_.push_back(new internal::FieldConverter<StructType, int>(
373 std::string StructType::* field) {
374 fields_.push_back(new internal::FieldConverter<StructType, std::string>(
379 string16 StructType::* field) {
380 fields_.push_back(new internal::FieldConverter<StructType, string16>(
385 bool StructType::* field) {
386 fields_.push_back(new internal::FieldConverter<StructType, bool>(
391 double StructType::* field) {
392 fields_.push_back(new internal::FieldConverter<StructType, double>(
398 const std::string& field_name, NestedType StructType::* field) {
399 fields_.push_back(new internal::FieldConverter<StructType, NestedType>(
408 FieldType StructType::* field,
410 fields_.push_back(new internal::FieldConverter<StructType, FieldType>(
419 FieldType StructType::* field,
421 fields_.push_back(new internal::FieldConverter<StructType, FieldType>(
428 ScopedVector<int> StructType::* field) {
430 new internal::FieldConverter<StructType, ScopedVector<int> >(
435 ScopedVector<std::string> StructType::* field) {
437 new internal::FieldConverter<StructType, ScopedVector<std::string> >(
444 ScopedVector<string16> StructType::* field) {
446 new internal::FieldConverter<StructType, ScopedVector<string16> >(
453 ScopedVector<double> StructType::* field) {
455 new internal::FieldConverter<StructType, ScopedVector<double> >(
460 ScopedVector<bool> StructType::* field) {
462 new internal::FieldConverter<StructType, ScopedVector<bool> >(
469 ScopedVector<NestedType> StructType::* field,
472 new internal::FieldConverter<StructType, ScopedVector<NestedType> >(
481 ScopedVector<NestedType> StructType::* field) {
483 new internal::FieldConverter<StructType, ScopedVector<NestedType> >(
489 bool Convert(const base::Value& value, StructType* output) const {
495 const internal::FieldConverterBase<StructType>* field_converter =
509 ScopedVector<internal::FieldConverterBase<StructType> > fields_;