Reflection for RapidJSON 0.0.17
Reflection for serializing/deserializing with RapidJSON
Loading...
Searching...
No Matches
ReflectiveRapidJSON Namespace Reference

Namespaces

namespace  Detail

Classes

class  BinarySerializationCodeGenerator
 The BinarySerializationCodeGenerator class generates code for JSON (de)serialization of objects inheriting from an instantiation of JsonSerializable. More...
class  CodeFactory
 The CodeFactory class produces additional (reflection) code for a specified list of C++ source files. More...
class  CodeGenerator
 The CodeGenerator class is the base for generators used by the CodeFactory class. More...
class  Consumer
 The Consumer class is passed to FrontendAction for handling occurrences of different elements of the file. More...
class  DiagConsumer
 The DiagConsumer class allows turning most errors into warnings. More...
class  FrontendAction
 The FrontendAction class instantiates the AST-Consumer (Consumer class). More...
class  JsonSerializationCodeGenerator
 The JsonSerializationCodeGenerator class generates code for JSON (de)serialization of objects inheriting from an instantiation of JsonSerializable. More...
struct  MaybeUnique
 The MaybeUnique class represents either a std::unique_ptr or a raw pointer. More...
struct  MemberTracking
 The MemberTracking struct is an internal helper for BinarySerializationCodeGenerator::generate(). More...
struct  RetrieveIntegerLiteralFromDeclaratorDecl
 The RetrieveIntegerLiteralFromDeclaratorDecl struct is used to traverse a variable declaration to get the integer value. More...
class  SerializationCodeGenerator
 The SerializationCodeGenerator class is the common base for (de)serialization related code generation. More...
class  Visitor
 The Visitor class is used to traverse the elements of a translation unit. More...

Functions

std::ostream & operator<< (ostream &os, llvm::StringRef str)
 Prints an LLVM string reference without instantiating a std::string first.
template<typename T>
MaybeUnique< T > maybe_unique (T *val)
template<typename T>
MaybeUnique< T > maybe_unique (std::unique_ptr< T > val)
template<typename T>
bool startsStrRefWith (T stringRef1, T stringRef2)
 Tests whether an llvm::StringRef starts with another llvm::StringRef.

Function Documentation

◆ maybe_unique() [1/2]

template<typename T>
MaybeUnique< T > ReflectiveRapidJSON::maybe_unique ( std::unique_ptr< T > val)

Definition at line 32 of file clangversionabstraction.h.

◆ maybe_unique() [2/2]

template<typename T>
MaybeUnique< T > ReflectiveRapidJSON::maybe_unique ( T * val)

Definition at line 28 of file clangversionabstraction.h.

◆ operator<<()

ostream & ReflectiveRapidJSON::operator<< ( std::ostream & os,
llvm::StringRef str )

Prints an LLVM string reference without instantiating a std::string first.

Definition at line 20 of file serializationcodegenerator.cpp.

◆ startsStrRefWith()

template<typename T>
bool ReflectiveRapidJSON::startsStrRefWith ( T stringRef1,
T stringRef2 )

Tests whether an llvm::StringRef starts with another llvm::StringRef.

Definition at line 51 of file clangversionabstraction.h.