cphot 0.1
A C++ tool for computing photometry from spectra.
|
|
Go to the documentation of this file.
17 #ifndef RAPIDJSON_STREAM_H_
18 #define RAPIDJSON_STREAM_H_
61 size_t PutEnd(Ch* begin);
72 template<
typename Stream>
83 template<
typename Stream>
90 template<
typename Stream>
96 template<
typename Stream,
typename Ch>
99 for (
size_t i = 0; i < n; i++)
109 template <
typename Encoding>
111 typedef typename Encoding::Ch
Ch;
128 template <
typename Encoding>
143 template <
typename Encoding>
145 typedef typename Encoding::Ch
Ch;
169 template <
typename Encoding>
179 #endif // RAPIDJSON_STREAM_H_
GenericStringStream(const Ch *src)
#define RAPIDJSON_NAMESPACE_END
provide custom rapidjson namespace (closing expression)
Concept for reading and writing characters.
#define RAPIDJSON_NAMESPACE_BEGIN
provide custom rapidjson namespace (opening expression)
GenericInsituStringStream< UTF8<> > InsituStringStream
Insitu string stream with UTF8 encoding.
common definitions and configuration
GenericStringStream< UTF8<> > StringStream
String stream with UTF8 encoding.
Provides additional information for stream.
A read-write string stream.
#define RAPIDJSON_ASSERT(x)
Assertion.
GenericInsituStringStream(Ch *src)
void PutN(Stream &stream, Ch c, size_t n)
Put N copies of a character to a stream.
const Ch * src_
Current read position.
void PutReserve(Stream &stream, size_t count)
Reserve n characters for writing to a stream.
void PutUnsafe(Stream &stream, typename Stream::Ch c)
Write character to a stream, presuming buffer is reserved.
const Ch * head_
Original head of the string.
Concept for encoding of Unicode characters.