MongoDB C++ Driver  legacy-1.0.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
mongo::_BufBuilder< Allocator > Class Template Reference

Public Member Functions

char * skip (int n)
 leave room for some stuff later More...
 
int len () const
 
int getSize () const
 

Member Function Documentation

template<class Allocator>
int mongo::_BufBuilder< Allocator >::getSize ( ) const
inline
Returns
size of the buffer
template<class Allocator>
int mongo::_BufBuilder< Allocator >::len ( ) const
inline
Returns
length of current string
template<class Allocator>
char* mongo::_BufBuilder< Allocator >::skip ( int  n)
inline

leave room for some stuff later

Returns
point to region that was skipped. pointer may change later (on realloc), so for immediate use only

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