VR-Vantage 2.7 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes
BasicOStreamWrapper< StreamType > Class Template Reference

Wrapper of std::basic_ostream into RapidJSON's Stream concept. More...

Public Types

typedef StreamType::char_type Ch

Public Member Functions

 BasicOStreamWrapper (StreamType &stream)
void Put (Ch c)
void Flush ()
char Peek () const
char Take ()
size_t Tell () const
char * PutBegin ()
size_t PutEnd (char *)

Private Member Functions

 BasicOStreamWrapper (const BasicOStreamWrapper &)
BasicOStreamWrapperoperator= (const BasicOStreamWrapper &)

Private Attributes

StreamType & stream_

Detailed Description

template<typename StreamType>
class BasicOStreamWrapper< StreamType >

Wrapper of std::basic_ostream into RapidJSON's Stream concept.

The classes can be wrapped including but not limited to:

Template Parameters
StreamTypeClass derived from std::basic_ostream.

Member Typedef Documentation

template<typename StreamType >
typedef StreamType::char_type BasicOStreamWrapper< StreamType >::Ch

Constructor & Destructor Documentation

template<typename StreamType >
BasicOStreamWrapper< StreamType >::BasicOStreamWrapper ( StreamType &  stream)
inline
template<typename StreamType >
BasicOStreamWrapper< StreamType >::BasicOStreamWrapper ( const BasicOStreamWrapper< StreamType > &  )
private

Member Function Documentation

template<typename StreamType >
void BasicOStreamWrapper< StreamType >::Put ( Ch  c)
inline
template<typename StreamType >
void BasicOStreamWrapper< StreamType >::Flush ( )
inline
template<typename StreamType >
char BasicOStreamWrapper< StreamType >::Peek ( ) const
inline

References RAPIDJSON_ASSERT.

template<typename StreamType >
char BasicOStreamWrapper< StreamType >::Take ( )
inline

References RAPIDJSON_ASSERT.

template<typename StreamType >
size_t BasicOStreamWrapper< StreamType >::Tell ( ) const
inline

References RAPIDJSON_ASSERT.

template<typename StreamType >
char* BasicOStreamWrapper< StreamType >::PutBegin ( )
inline

References RAPIDJSON_ASSERT.

template<typename StreamType >
size_t BasicOStreamWrapper< StreamType >::PutEnd ( char *  )
inline

References RAPIDJSON_ASSERT.

template<typename StreamType >
BasicOStreamWrapper& BasicOStreamWrapper< StreamType >::operator= ( const BasicOStreamWrapper< StreamType > &  )
private

Member Data Documentation

template<typename StreamType >
StreamType& BasicOStreamWrapper< StreamType >::stream_
private

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


Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)