cphot 0.1
A C++ tool for computing photometry from spectra.
writer.h File Reference
#include "stream.h"
#include "internal/stack.h"
#include "internal/strfunc.h"
#include "internal/dtoa.h"
#include "internal/itoa.h"
#include "stringbuffer.h"
#include <new>

Go to the source code of this file.

Classes

class  Writer< OutputStream, SourceEncoding, TargetEncoding, StackAllocator, writeFlags >
 JSON writer. More...
 
struct  Writer< OutputStream, SourceEncoding, TargetEncoding, StackAllocator, writeFlags >::Level
 Information for each nested level. More...
 

Macros

#define RAPIDJSON_WRITE_DEFAULT_FLAGS   kWriteNoFlags
 
#define Z16   0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
 

Enumerations

enum  WriteFlag { kWriteNoFlags = 0, kWriteValidateEncodingFlag = 1, kWriteNanAndInfFlag = 2, kWriteDefaultFlags = RAPIDJSON_WRITE_DEFAULT_FLAGS }
 Combination of writeFlags. More...
 

Macro Definition Documentation

◆ RAPIDJSON_WRITE_DEFAULT_FLAGS

#define RAPIDJSON_WRITE_DEFAULT_FLAGS   kWriteNoFlags

Definition at line 59 of file writer.h.

◆ Z16

#define Z16   0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0

Enumeration Type Documentation

◆ WriteFlag

enum WriteFlag

Combination of writeFlags.

Enumerator
kWriteNoFlags 

No flags are set.

kWriteValidateEncodingFlag 

Validate encoding of JSON strings.

kWriteNanAndInfFlag 

Allow writing of Infinity, -Infinity and NaN.

kWriteDefaultFlags 

Default write flags.

Can be customized by defining RAPIDJSON_WRITE_DEFAULT_FLAGS

Definition at line 63 of file writer.h.