C++ SDK Documentation  12.0.0
Vertica::SimpleArchiveIn Struct Reference
Collaboration diagram for Vertica::SimpleArchiveIn:
Collaboration graph

Public Types

typedef std::true_type is_loading
 
typedef std::false_type is_saving
 

Public Member Functions

 SimpleArchiveIn (std::istream &istream)
 
void operator& (int64 &val)
 
void operator& (uint64 &val)
 
void operator& (long int &val)
 
void operator& (long unsigned int &val)
 
void operator& (int32 &val)
 
void operator& (uint32 &val)
 
void operator& (int16 &val)
 
void operator& (uint16 &val)
 
void operator& (signed char &val)
 
void operator& (char &val)
 
void operator& (unsigned char &val)
 
void operator& (bool &val)
 
void operator& (double &val)
 
template<class Alloc >
void operator& (std::basic_string< char, std::char_traits< char >, Alloc > &val)
 
template<class T , class Alloc >
void operator& (std::vector< T, Alloc > &val)
 
template<class Alloc >
void operator& (std::vector< bool, Alloc > &val)
 
template<class T , class Alloc >
void operator& (std::list< T, Alloc > &val)
 
template<class T , class Less , class Alloc >
void operator& (std::set< T, Less, Alloc > &val)
 
template<class T , class Hash , class Eq , class Alloc >
void operator& (std::unordered_set< T, Hash, Eq, Alloc > &val)
 
template<class T1 , class T2 >
void operator& (std::pair< T1, T2 > &val)
 
template<class K , class V , class Less , class Alloc >
void operator& (std::map< K, V, Less, Alloc > &val)
 
template<class K , class V , class Hash , class Eq , class Alloc >
void operator& (std::unordered_map< K, V, Hash, Eq, Alloc > &val)
 
template<class T >
void operator& (T &val)
 
template<typename T >
SimpleArchiveInoperator<< (const T &val)
 
SimpleArchiveInoperator>> (int64 &val)
 
SimpleArchiveInoperator>> (uint64 &val)
 
SimpleArchiveInoperator>> (int32 &val)
 
SimpleArchiveInoperator>> (uint32 &val)
 
SimpleArchiveInoperator>> (int16 &val)
 
SimpleArchiveInoperator>> (uint16 &val)
 
SimpleArchiveInoperator>> (signed char &val)
 
SimpleArchiveInoperator>> (char &val)
 
SimpleArchiveInoperator>> (unsigned char &val)
 
SimpleArchiveInoperator>> (bool &b)
 
SimpleArchiveInoperator>> (double &d)
 
template<class Alloc >
SimpleArchiveInoperator>> (std::basic_string< char, std::char_traits< char >, Alloc > &val)
 
template<class T , class Alloc >
SimpleArchiveInoperator>> (std::vector< T, Alloc > &val)
 
template<class Alloc >
SimpleArchiveInoperator>> (std::vector< bool, Alloc > &val)
 
template<class T , class Alloc >
SimpleArchiveInoperator>> (std::list< T, Alloc > &val)
 
template<class T , class Less , class Alloc >
SimpleArchiveInoperator>> (std::set< T, Less, Alloc > &val)
 
template<class T , class Hash , class Eq , class Alloc >
SimpleArchiveInoperator>> (std::unordered_set< T, Hash, Eq, Alloc > &val)
 
template<class T1 , class T2 >
SimpleArchiveInoperator>> (std::pair< T1, T2 > &val)
 
template<class K , class V , class Less , class Alloc >
SimpleArchiveInoperator>> (std::map< K, V, Less, Alloc > &val)
 
template<class K , class V , class Hash , class Eq , class Alloc >
SimpleArchiveInoperator>> (std::unordered_map< K, V, Hash, Eq, Alloc > &val)
 
template<class T >
SimpleArchiveInoperator>> (T &val)
 
template<typename T , size_t n>
SimpleArchiveInoperator>> (T(&val)[n])
 
void read (void *ptr, size_t n)
 
bool readBool ()
 
double readDouble ()
 
int64 readInt ()
 
uint64 readUint ()
 
void write (void *ptr, size_t n)
 

Public Attributes

std::istream & is
 

Detailed Description

Input archive

Member Function Documentation

SimpleArchiveIn& Vertica::SimpleArchiveIn::operator>> ( int64 val)
inline

Read a signed integer

SimpleArchiveIn& Vertica::SimpleArchiveIn::operator>> ( uint64 val)
inline

Read an unsigned integer

SimpleArchiveIn& Vertica::SimpleArchiveIn::operator>> ( int32 val)
inline

Read a signed integer

SimpleArchiveIn& Vertica::SimpleArchiveIn::operator>> ( uint32 val)
inline

Read an unsigned integer

SimpleArchiveIn& Vertica::SimpleArchiveIn::operator>> ( int16 val)
inline

Read a signed integer

SimpleArchiveIn& Vertica::SimpleArchiveIn::operator>> ( uint16 val)
inline

Read an unsigned integer

SimpleArchiveIn& Vertica::SimpleArchiveIn::operator>> ( signed char &  val)
inline

Read a signed integer / char

SimpleArchiveIn& Vertica::SimpleArchiveIn::operator>> ( char &  val)
inline

Read a char

SimpleArchiveIn& Vertica::SimpleArchiveIn::operator>> ( unsigned char &  val)
inline

Read an unsigned char / integer

SimpleArchiveIn& Vertica::SimpleArchiveIn::operator>> ( bool &  b)
inline

Read a double / float

SimpleArchiveIn& Vertica::SimpleArchiveIn::operator>> ( double &  d)
inline

Read a double / float

template<class Alloc >
SimpleArchiveIn& Vertica::SimpleArchiveIn::operator>> ( std::basic_string< char, std::char_traits< char >, Alloc > &  val)
inline

Read a string

template<class T , class Alloc >
SimpleArchiveIn& Vertica::SimpleArchiveIn::operator>> ( std::vector< T, Alloc > &  val)
inline

Read a vector

template<class Alloc >
SimpleArchiveIn& Vertica::SimpleArchiveIn::operator>> ( std::vector< bool, Alloc > &  val)
inline

Read a vector<bool>

template<class T , class Alloc >
SimpleArchiveIn& Vertica::SimpleArchiveIn::operator>> ( std::list< T, Alloc > &  val)
inline

Read a list

template<class T , class Less , class Alloc >
SimpleArchiveIn& Vertica::SimpleArchiveIn::operator>> ( std::set< T, Less, Alloc > &  val)
inline

Read a set

template<class T , class Hash , class Eq , class Alloc >
SimpleArchiveIn& Vertica::SimpleArchiveIn::operator>> ( std::unordered_set< T, Hash, Eq, Alloc > &  val)
inline

Read an unordered set

template<class T1 , class T2 >
SimpleArchiveIn& Vertica::SimpleArchiveIn::operator>> ( std::pair< T1, T2 > &  val)
inline

Read a pair

template<class K , class V , class Less , class Alloc >
SimpleArchiveIn& Vertica::SimpleArchiveIn::operator>> ( std::map< K, V, Less, Alloc > &  val)
inline

Read a map

template<class K , class V , class Hash , class Eq , class Alloc >
SimpleArchiveIn& Vertica::SimpleArchiveIn::operator>> ( std::unordered_map< K, V, Hash, Eq, Alloc > &  val)
inline

Read an unordered map

template<class T >
SimpleArchiveIn& Vertica::SimpleArchiveIn::operator>> ( T &  val)
inline

Read something with a serialize method, the default thing to do with no specific override

template<typename T , size_t n>
SimpleArchiveIn& Vertica::SimpleArchiveIn::operator>> ( T(&)  val[n])
inline

Fixed array