Electroneum
Loading...
Searching...
No Matches
Foo Struct Reference
Collaboration diagram for Foo:

Public Member Functions

 Foo ()
 ~Foo ()

Public Attributes

UTF8< char > * utf8
UTF16< wchar_t > * utf16
UTF16BE< wchar_t > * utf16be
UTF16LE< wchar_t > * utf16le
UTF32< unsigned > * utf32
UTF32BE< unsigned > * utf32be
UTF32LE< unsigned > * utf32le
ASCII< char > * ascii
AutoUTF< unsigned > * autoutf
Transcoder< UTF8< char >, UTF8< char > > * transcoder
CrtAllocatorcrtallocator
MemoryPoolAllocator< CrtAllocator > * memorypoolallocator
StringStreamstringstream
InsituStringStreaminsitustringstream
StringBufferstringbuffer
MemoryBuffermemorybuffer
MemoryStreammemorystream
BaseReaderHandler< UTF8< char >, void > * basereaderhandler
Readerreader
Writer< StringBuffer, UTF8< char >, UTF8< char >, CrtAllocator, 0 > * writer
PrettyWriter< StringBuffer, UTF8< char >, UTF8< char >, CrtAllocator, 0 > * prettywriter
Valuevalue
Documentdocument
Pointerpointer
SchemaDocumentschemadocument
SchemaValidatorschemavalidator

Detailed Description

Definition at line 28 of file fwdtest.cpp.

Constructor & Destructor Documentation

◆ Foo()

Foo::Foo ( )

Definition at line 106 of file fwdtest.cpp.

106 :
107 // encodings.h
108 utf8(RAPIDJSON_NEW(UTF8<>)),
109 utf16(RAPIDJSON_NEW(UTF16<>)),
110 utf16be(RAPIDJSON_NEW(UTF16BE<>)),
111 utf16le(RAPIDJSON_NEW(UTF16LE<>)),
112 utf32(RAPIDJSON_NEW(UTF32<>)),
113 utf32be(RAPIDJSON_NEW(UTF32BE<>)),
114 utf32le(RAPIDJSON_NEW(UTF32LE<>)),
115 ascii(RAPIDJSON_NEW(ASCII<>)),
116 autoutf(RAPIDJSON_NEW(AutoUTF<unsigned>)),
118
119 // allocators.h
120 crtallocator(RAPIDJSON_NEW(CrtAllocator)),
121 memorypoolallocator(RAPIDJSON_NEW(MemoryPoolAllocator<>)),
122
123 // stream.h
126
127 // stringbuffer.h
129
130 // // filereadstream.h
131 // filereadstream(RAPIDJSON_NEW(FileReadStream)(stdout, buffer, sizeof(buffer))),
132
133 // // filewritestream.h
134 // filewritestream(RAPIDJSON_NEW(FileWriteStream)(stdout, buffer, sizeof(buffer))),
135
136 // memorybuffer.h
138
139 // memorystream.h
140 memorystream(RAPIDJSON_NEW(MemoryStream)(NULL, 0)),
141
142 // reader.h
145
146 // writer.h
147 writer(RAPIDJSON_NEW(Writer<StringBuffer>)),
148
149 // prettywriter.h
150 prettywriter(RAPIDJSON_NEW(PrettyWriter<StringBuffer>)),
151
152 // document.h
155
156 // pointer.h
158
159 // schema.h
162{
163
164}
GenericValue< UTF8<> > Value
GenericValue with UTF8 encoding.
Definition document.h:2116
GenericDocument< UTF8<> > Document
GenericDocument with UTF8 encoding.
Definition document.h:2512
GenericSchemaDocument< Value, CrtAllocator > SchemaDocument
Definition fwd.h:138
GenericPointer< Value, CrtAllocator > Pointer
Definition fwd.h:128
GenericSchemaValidator< SchemaDocument, BaseReaderHandler< UTF8< char >, void >, CrtAllocator > SchemaValidator
Definition fwd.h:147
GenericStringStream< UTF8< char > > StringStream
Definition fwd.h:49
GenericMemoryBuffer< CrtAllocator > MemoryBuffer
Definition fwd.h:76
GenericInsituStringStream< UTF8< char > > InsituStringStream
Definition fwd.h:54
GenericReader< UTF8< char >, UTF8< char >, CrtAllocator > Reader
Definition fwd.h:90
GenericStringBuffer< UTF8< char >, CrtAllocator > StringBuffer
Definition fwd.h:61
BaseReaderHandler< UTF8<>, void > BaseReaderHandlerUtf8Void
Definition fwdtest.cpp:104
Transcoder< UTF8<>, UTF8<> > TranscoderUtf8ToUtf8
Definition fwdtest.cpp:103
#define RAPIDJSON_NEW(TypeName)
! customization point for global new
Definition rapidjson.h:603
UTF8< char > * utf8
Definition fwdtest.cpp:33
CrtAllocator * crtallocator
Definition fwdtest.cpp:45
MemoryBuffer * memorybuffer
Definition fwdtest.cpp:62
ASCII< char > * ascii
Definition fwdtest.cpp:40
MemoryPoolAllocator< CrtAllocator > * memorypoolallocator
Definition fwdtest.cpp:46
StringStream * stringstream
Definition fwdtest.cpp:49
Reader * reader
Definition fwdtest.cpp:69
Transcoder< UTF8< char >, UTF8< char > > * transcoder
Definition fwdtest.cpp:42
UTF16< wchar_t > * utf16
Definition fwdtest.cpp:34
StringBuffer * stringbuffer
Definition fwdtest.cpp:53
Pointer * pointer
Definition fwdtest.cpp:82
UTF32< unsigned > * utf32
Definition fwdtest.cpp:37
Document * document
Definition fwdtest.cpp:79
SchemaDocument * schemadocument
Definition fwdtest.cpp:85
Writer< StringBuffer, UTF8< char >, UTF8< char >, CrtAllocator, 0 > * writer
Definition fwdtest.cpp:72
Value * value
Definition fwdtest.cpp:78
InsituStringStream * insitustringstream
Definition fwdtest.cpp:50
PrettyWriter< StringBuffer, UTF8< char >, UTF8< char >, CrtAllocator, 0 > * prettywriter
Definition fwdtest.cpp:75
UTF32LE< unsigned > * utf32le
Definition fwdtest.cpp:39
AutoUTF< unsigned > * autoutf
Definition fwdtest.cpp:41
UTF16BE< wchar_t > * utf16be
Definition fwdtest.cpp:35
SchemaValidator * schemavalidator
Definition fwdtest.cpp:86
BaseReaderHandler< UTF8< char >, void > * basereaderhandler
Definition fwdtest.cpp:68
UTF32BE< unsigned > * utf32be
Definition fwdtest.cpp:38
MemoryStream * memorystream
Definition fwdtest.cpp:65
UTF16LE< wchar_t > * utf16le
Definition fwdtest.cpp:36

◆ ~Foo()

Foo::~Foo ( )

Definition at line 166 of file fwdtest.cpp.

166 {
167 // encodings.h
178
179 // allocators.h
182
183 // stream.h
186
187 // stringbuffer.h
189
190 // // filereadstream.h
191 // RAPIDJSON_DELETE(filereadstream);
192
193 // // filewritestream.h
194 // RAPIDJSON_DELETE(filewritestream);
195
196 // memorybuffer.h
198
199 // memorystream.h
201
202 // reader.h
205
206 // writer.h
208
209 // prettywriter.h
211
212 // document.h
215
216 // pointer.h
218
219 // schema.h
222}
#define RAPIDJSON_DELETE(x)
! customization point for global delete
Definition rapidjson.h:607

Member Data Documentation

◆ ascii

ASCII<char>* Foo::ascii

Definition at line 40 of file fwdtest.cpp.

◆ autoutf

AutoUTF<unsigned>* Foo::autoutf

Definition at line 41 of file fwdtest.cpp.

◆ basereaderhandler

BaseReaderHandler<UTF8<char>, void>* Foo::basereaderhandler

Definition at line 68 of file fwdtest.cpp.

◆ crtallocator

CrtAllocator* Foo::crtallocator

Definition at line 45 of file fwdtest.cpp.

◆ document

Document* Foo::document

Definition at line 79 of file fwdtest.cpp.

◆ insitustringstream

InsituStringStream* Foo::insitustringstream

Definition at line 50 of file fwdtest.cpp.

◆ memorybuffer

MemoryBuffer* Foo::memorybuffer

Definition at line 62 of file fwdtest.cpp.

◆ memorypoolallocator

MemoryPoolAllocator<CrtAllocator>* Foo::memorypoolallocator

Definition at line 46 of file fwdtest.cpp.

◆ memorystream

MemoryStream* Foo::memorystream

Definition at line 65 of file fwdtest.cpp.

◆ pointer

Pointer* Foo::pointer

Definition at line 82 of file fwdtest.cpp.

◆ prettywriter

PrettyWriter<StringBuffer, UTF8<char>, UTF8<char>, CrtAllocator, 0>* Foo::prettywriter

Definition at line 75 of file fwdtest.cpp.

◆ reader

Reader* Foo::reader

Definition at line 69 of file fwdtest.cpp.

◆ schemadocument

SchemaDocument* Foo::schemadocument

Definition at line 85 of file fwdtest.cpp.

◆ schemavalidator

SchemaValidator* Foo::schemavalidator

Definition at line 86 of file fwdtest.cpp.

◆ stringbuffer

StringBuffer* Foo::stringbuffer

Definition at line 53 of file fwdtest.cpp.

◆ stringstream

StringStream* Foo::stringstream

Definition at line 49 of file fwdtest.cpp.

◆ transcoder

Transcoder<UTF8<char>, UTF8<char> >* Foo::transcoder

Definition at line 42 of file fwdtest.cpp.

◆ utf16

UTF16<wchar_t>* Foo::utf16

Definition at line 34 of file fwdtest.cpp.

◆ utf16be

UTF16BE<wchar_t>* Foo::utf16be

Definition at line 35 of file fwdtest.cpp.

◆ utf16le

UTF16LE<wchar_t>* Foo::utf16le

Definition at line 36 of file fwdtest.cpp.

◆ utf32

UTF32<unsigned>* Foo::utf32

Definition at line 37 of file fwdtest.cpp.

◆ utf32be

UTF32BE<unsigned>* Foo::utf32be

Definition at line 38 of file fwdtest.cpp.

◆ utf32le

UTF32LE<unsigned>* Foo::utf32le

Definition at line 39 of file fwdtest.cpp.

◆ utf8

UTF8<char>* Foo::utf8

Definition at line 33 of file fwdtest.cpp.

◆ value

Value* Foo::value

Definition at line 78 of file fwdtest.cpp.

◆ writer

Writer<StringBuffer, UTF8<char>, UTF8<char>, CrtAllocator, 0>* Foo::writer

Definition at line 72 of file fwdtest.cpp.


The documentation for this struct was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/external/rapidjson/test/unittest/fwdtest.cpp