C++ SDK Documentation  24.2.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

◆ operator>>() [1/22]

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

Read a signed integer

◆ operator>>() [2/22]

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

Read an unsigned integer

◆ operator>>() [3/22]

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

Read a signed integer

◆ operator>>() [4/22]

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

Read an unsigned integer

◆ operator>>() [5/22]

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

Read a signed integer

◆ operator>>() [6/22]

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

Read an unsigned integer

◆ operator>>() [7/22]

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

Read a signed integer / char

◆ operator>>() [8/22]

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

Read a char

◆ operator>>() [9/22]

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

Read an unsigned char / integer

◆ operator>>() [10/22]

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

Read a double / float

◆ operator>>() [11/22]

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

Read a double / float

◆ operator>>() [12/22]

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

Read a string

◆ operator>>() [13/22]

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

Read a vector

◆ operator>>() [14/22]

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

Read a vector<bool>

◆ operator>>() [15/22]

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

Read a list

◆ operator>>() [16/22]

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

Read a set

◆ operator>>() [17/22]

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

◆ operator>>() [18/22]

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

Read a pair

◆ operator>>() [19/22]

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

Read a map

◆ operator>>() [20/22]

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

◆ operator>>() [21/22]

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

◆ operator>>() [22/22]

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

Fixed array