Realm
A distributed, event-based tasking library
Loading...
Searching...
No Matches
Realm::PrettyVector< T > Class Template Reference

#include <utils.h>

Public Member Functions

 PrettyVector (const T *_data, size_t _size, const char *_delim=", ", const char *_pfx="[", const char *_sfx="]")
template<typename Container = std::vector<T>>
 PrettyVector (const Container &_v, const char *_delim=", ", const char *_pfx="[", const char *_sfx="]")
void print (std::ostream &os) const

Protected Attributes

const T * data
size_t size
const char * delim
const char * pfx
const char * sfx

Constructor & Destructor Documentation

◆ PrettyVector() [1/2]

template<typename T>
Realm::PrettyVector< T >::PrettyVector ( const T * _data,
size_t _size,
const char * _delim = ", ",
const char * _pfx = "[",
const char * _sfx = "]" )
explicit

◆ PrettyVector() [2/2]

template<typename T>
template<typename Container = std::vector<T>>
Realm::PrettyVector< T >::PrettyVector ( const Container & _v,
const char * _delim = ", ",
const char * _pfx = "[",
const char * _sfx = "]" )
explicit

Member Function Documentation

◆ print()

template<typename T>
void Realm::PrettyVector< T >::print ( std::ostream & os) const

Member Data Documentation

◆ data

template<typename T>
const T* Realm::PrettyVector< T >::data
protected

◆ delim

template<typename T>
const char* Realm::PrettyVector< T >::delim
protected

◆ pfx

template<typename T>
const char* Realm::PrettyVector< T >::pfx
protected

◆ sfx

template<typename T>
const char* Realm::PrettyVector< T >::sfx
protected

◆ size

template<typename T>
size_t Realm::PrettyVector< T >::size
protected

The documentation for this class was generated from the following file:
  • /home/runner/work/realm/realm/realm-src/src/realm/utils.h