bes Updated for version 3.20.13
internal::Schema< SchemaDocumentType > Class Template Reference
Collaboration diagram for internal::Schema< SchemaDocumentType >:
Collaboration graph

Public Types

typedef SchemaDocumentType::AllocatorType AllocatorType
 
typedef EncodingType::Ch Ch
 
typedef SchemaValidationContext< SchemaDocumentType > Context
 
typedef ValueType::EncodingType EncodingType
 
typedef IValidationErrorHandler< SchemaErrorHandler
 
typedef SchemaDocumentType::PointerType PointerType
 
typedef Schema< SchemaDocumentType > SchemaType
 
typedef GenericValue< EncodingType, AllocatorType > SValue
 
typedef SchemaDocumentType::ValueType ValueType
 

Public Member Functions

bool BeginValue (Context &context) const
 
bool Bool (Context &context, bool) const
 
bool Double (Context &context, double d) const
 
bool EndArray (Context &context, SizeType elementCount) const
 
bool EndObject (Context &context, SizeType memberCount) const
 
RAPIDJSON_FORCEINLINE bool EndValue (Context &context) const
 
const PointerType & GetPointer () const
 
const SValueGetURI () const
 
bool Int (Context &context, int i) const
 
bool Int64 (Context &context, int64_t i) const
 
bool Key (Context &context, const Ch *str, SizeType len, bool) const
 
bool Null (Context &context) const
 
 Schema (SchemaDocumentType *schemaDocument, const PointerType &p, const ValueType &value, const ValueType &document, AllocatorType *allocator)
 
bool StartArray (Context &context) const
 
bool StartObject (Context &context) const
 
bool String (Context &context, const Ch *str, SizeType length, bool) const
 
bool Uint (Context &context, unsigned u) const
 
bool Uint64 (Context &context, uint64_t u) const
 

Friends

class GenericSchemaDocument< ValueType, AllocatorType >
 

Detailed Description

template<typename SchemaDocumentType>
class internal::Schema< SchemaDocumentType >

Definition at line 396 of file schema.h.

Member Typedef Documentation

◆ AllocatorType

template<typename SchemaDocumentType >
typedef SchemaDocumentType::AllocatorType internal::Schema< SchemaDocumentType >::AllocatorType

Definition at line 399 of file schema.h.

◆ Ch

template<typename SchemaDocumentType >
typedef EncodingType::Ch internal::Schema< SchemaDocumentType >::Ch

Definition at line 402 of file schema.h.

◆ Context

template<typename SchemaDocumentType >
typedef SchemaValidationContext<SchemaDocumentType> internal::Schema< SchemaDocumentType >::Context

Definition at line 403 of file schema.h.

◆ EncodingType

template<typename SchemaDocumentType >
typedef ValueType::EncodingType internal::Schema< SchemaDocumentType >::EncodingType

Definition at line 401 of file schema.h.

◆ ErrorHandler

template<typename SchemaDocumentType >
typedef IValidationErrorHandler<Schema> internal::Schema< SchemaDocumentType >::ErrorHandler

Definition at line 406 of file schema.h.

◆ PointerType

template<typename SchemaDocumentType >
typedef SchemaDocumentType::PointerType internal::Schema< SchemaDocumentType >::PointerType

Definition at line 400 of file schema.h.

◆ SchemaType

template<typename SchemaDocumentType >
typedef Schema<SchemaDocumentType> internal::Schema< SchemaDocumentType >::SchemaType

Definition at line 404 of file schema.h.

◆ SValue

template<typename SchemaDocumentType >
typedef GenericValue<EncodingType, AllocatorType> internal::Schema< SchemaDocumentType >::SValue

Definition at line 405 of file schema.h.

◆ ValueType

template<typename SchemaDocumentType >
typedef SchemaDocumentType::ValueType internal::Schema< SchemaDocumentType >::ValueType

Definition at line 398 of file schema.h.

Constructor & Destructor Documentation

◆ Schema()

template<typename SchemaDocumentType >
internal::Schema< SchemaDocumentType >::Schema ( SchemaDocumentType *  schemaDocument,
const PointerType &  p,
const ValueType &  value,
const ValueType &  document,
AllocatorType *  allocator 
)
inline

Definition at line 409 of file schema.h.

◆ ~Schema()

template<typename SchemaDocumentType >
internal::Schema< SchemaDocumentType >::~Schema ( )
inline

Definition at line 646 of file schema.h.

Member Function Documentation

◆ BeginValue()

template<typename SchemaDocumentType >
bool internal::Schema< SchemaDocumentType >::BeginValue ( Context context) const
inline

Definition at line 675 of file schema.h.

◆ Bool()

template<typename SchemaDocumentType >
bool internal::Schema< SchemaDocumentType >::Bool ( Context context,
bool   
) const
inline

Definition at line 792 of file schema.h.

◆ Double()

template<typename SchemaDocumentType >
bool internal::Schema< SchemaDocumentType >::Double ( Context context,
double  d 
) const
inline

Definition at line 824 of file schema.h.

◆ EndArray()

template<typename SchemaDocumentType >
bool internal::Schema< SchemaDocumentType >::EndArray ( Context context,
SizeType  elementCount 
) const
inline

Definition at line 999 of file schema.h.

◆ EndObject()

template<typename SchemaDocumentType >
bool internal::Schema< SchemaDocumentType >::EndObject ( Context context,
SizeType  memberCount 
) const
inline

Definition at line 940 of file schema.h.

◆ EndValue()

template<typename SchemaDocumentType >
RAPIDJSON_FORCEINLINE bool internal::Schema< SchemaDocumentType >::EndValue ( Context context) const
inline

Definition at line 702 of file schema.h.

◆ GetPointer()

template<typename SchemaDocumentType >
const PointerType & internal::Schema< SchemaDocumentType >::GetPointer ( ) const
inline

Definition at line 671 of file schema.h.

◆ GetURI()

template<typename SchemaDocumentType >
const SValue & internal::Schema< SchemaDocumentType >::GetURI ( ) const
inline

Definition at line 667 of file schema.h.

◆ Int()

template<typename SchemaDocumentType >
bool internal::Schema< SchemaDocumentType >::Int ( Context context,
int  i 
) const
inline

Definition at line 800 of file schema.h.

◆ Int64()

template<typename SchemaDocumentType >
bool internal::Schema< SchemaDocumentType >::Int64 ( Context context,
int64_t  i 
) const
inline

Definition at line 812 of file schema.h.

◆ Key()

template<typename SchemaDocumentType >
bool internal::Schema< SchemaDocumentType >::Key ( Context context,
const Ch *  str,
SizeType  len,
bool   
) const
inline

Definition at line 891 of file schema.h.

◆ Null()

template<typename SchemaDocumentType >
bool internal::Schema< SchemaDocumentType >::Null ( Context context) const
inline

Definition at line 784 of file schema.h.

◆ StartArray()

template<typename SchemaDocumentType >
bool internal::Schema< SchemaDocumentType >::StartArray ( Context context) const
inline

Definition at line 987 of file schema.h.

◆ StartObject()

template<typename SchemaDocumentType >
bool internal::Schema< SchemaDocumentType >::StartObject ( Context context) const
inline

Definition at line 870 of file schema.h.

◆ String()

template<typename SchemaDocumentType >
bool internal::Schema< SchemaDocumentType >::String ( Context context,
const Ch *  str,
SizeType  length,
bool   
) const
inline

Definition at line 842 of file schema.h.

◆ Uint()

template<typename SchemaDocumentType >
bool internal::Schema< SchemaDocumentType >::Uint ( Context context,
unsigned  u 
) const
inline

Definition at line 806 of file schema.h.

◆ Uint64()

template<typename SchemaDocumentType >
bool internal::Schema< SchemaDocumentType >::Uint64 ( Context context,
uint64_t  u 
) const
inline

Definition at line 818 of file schema.h.

Friends And Related Function Documentation

◆ GenericSchemaDocument< ValueType, AllocatorType >

template<typename SchemaDocumentType >
friend class GenericSchemaDocument< ValueType, AllocatorType >
friend

Definition at line 406 of file schema.h.


The documentation for this class was generated from the following file: