HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Xdr Namespace Reference

Functions

template<class S , class T >
void write (T &out, bool v)
 
template<class S , class T >
void write (T &out, char v)
 
template<class S , class T >
void write (T &out, signed char v)
 
template<class S , class T >
void write (T &out, unsigned char v)
 
template<class S , class T >
void write (T &out, signed short v)
 
template<class S , class T >
void write (T &out, unsigned short v)
 
template<class S , class T >
void write (T &out, signed int v)
 
template<class S , class T >
void write (T &out, unsigned int v)
 
template<class S , class T >
void write (T &out, int64_t v)
 
template<class S , class T >
void write (T &out, uint64_t v)
 
template<class S , class T >
void write (T &out, float v)
 
template<class S , class T >
void write (T &out, double v)
 
template<class S , class T >
void write (T &out, half v)
 
template<class S , class T >
void write (T &out, const char v[], int n)
 
template<class S , class T >
void write (T &out, const char v[])
 
template<class S , class T >
void pad (T &out, int n)
 
template<class S , class T >
void read (T &in, bool &v)
 
template<class S , class T >
void read (T &in, char &v)
 
template<class S , class T >
void read (T &in, signed char &v)
 
template<class S , class T >
void read (T &in, unsigned char &v)
 
template<class S , class T >
void read (T &in, signed short &v)
 
template<class S , class T >
void read (T &in, unsigned short &v)
 
template<class S , class T >
void read (T &in, signed int &v)
 
template<class S , class T >
void read (T &in, unsigned int &v)
 
template<class S , class T >
void read (T &in, int64_t &v)
 
template<class S , class T >
void read (T &in, uint64_t &v)
 
template<class S , class T >
void read (T &in, float &v)
 
template<class S , class T >
void read (T &in, double &v)
 
template<class S , class T >
void read (T &in, half &v)
 
template<class S , class T >
void read (T &in, char v[], int n)
 
template<class S , class T >
void read (T &in, int n, char v[])
 
template<class S , class T >
void skip (T &in, int n)
 
template<class S >
int size ()
 
template<class S , class T >
void writeSignedChars (T &out, const signed char c[], int n)
 
template<class S , class T >
void writeUnsignedChars (T &out, const unsigned char c[], int n)
 
template<class S , class T >
void readSignedChars (T &in, signed char c[], int n)
 
template<class S , class T >
void readUnsignedChars (T &in, unsigned char c[], int n)
 
template<>
int size< bool > ()
 
template<>
int size< char > ()
 
template<>
int size< signed char > ()
 
template<>
int size< unsigned char > ()
 
template<>
int size< signed short > ()
 
template<>
int size< unsigned short > ()
 
template<>
int size< signed int > ()
 
template<>
int size< unsigned int > ()
 
template<>
int size< signed long > ()
 
template<>
int size< unsigned long > ()
 
template<>
int size< unsigned long long > ()
 
template<>
int size< float > ()
 
template<>
int size< double > ()
 
template<>
int size< half > ()
 

Function Documentation

template<class S , class T >
void Xdr::pad ( T &  out,
int  n 
)

Definition at line 407 of file ImfXdr.h.

template<class S , class T >
void Xdr::read ( T &  in,
bool &  v 
)
inline

Definition at line 418 of file ImfXdr.h.

template<class S , class T >
void Xdr::read ( T &  in,
char &  v 
)
inline

Definition at line 428 of file ImfXdr.h.

template<class S , class T >
void Xdr::read ( T &  in,
signed char &  v 
)
inline

Definition at line 435 of file ImfXdr.h.

template<class S , class T >
void Xdr::read ( T &  in,
unsigned char &  v 
)
inline

Definition at line 442 of file ImfXdr.h.

template<class S , class T >
void Xdr::read ( T &  in,
signed short &  v 
)

Definition at line 449 of file ImfXdr.h.

template<class S , class T >
void Xdr::read ( T &  in,
unsigned short &  v 
)

Definition at line 461 of file ImfXdr.h.

template<class S , class T >
void Xdr::read ( T &  in,
signed int v 
)

Definition at line 472 of file ImfXdr.h.

template<class S , class T >
void Xdr::read ( T &  in,
unsigned int v 
)

Definition at line 486 of file ImfXdr.h.

template<class S , class T >
void Xdr::read ( T &  in,
int64_t &  v 
)

Definition at line 498 of file ImfXdr.h.

template<class S , class T >
void Xdr::read ( T &  in,
uint64_t &  v 
)

Definition at line 516 of file ImfXdr.h.

template<class S , class T >
void Xdr::read ( T &  in,
float v 
)

Definition at line 534 of file ImfXdr.h.

template<class S , class T >
void Xdr::read ( T &  in,
double &  v 
)

Definition at line 554 of file ImfXdr.h.

template<class S , class T >
void Xdr::read ( T &  in,
half v 
)
inline

Definition at line 580 of file ImfXdr.h.

template<class S , class T >
void Xdr::read ( T &  in,
char  v[],
int  n 
)
inline

Definition at line 591 of file ImfXdr.h.

template<class S , class T >
void Xdr::read ( T &  in,
int  n,
char  v[] 
)

Definition at line 598 of file ImfXdr.h.

template<class S , class T >
void Xdr::readSignedChars ( T &  in,
signed char  c[],
int  n 
)
inline

Definition at line 198 of file ImfXdr.h.

template<class S , class T >
void Xdr::readUnsignedChars ( T &  in,
unsigned char  c[],
int  n 
)
inline

Definition at line 205 of file ImfXdr.h.

template<class S >
int Xdr::size ( )
template<>
int Xdr::size< bool > ( )
inline

Definition at line 629 of file ImfXdr.h.

template<>
int Xdr::size< char > ( )
inline

Definition at line 635 of file ImfXdr.h.

template<>
int Xdr::size< double > ( )
inline

Definition at line 701 of file ImfXdr.h.

template<>
int Xdr::size< float > ( )
inline

Definition at line 695 of file ImfXdr.h.

template<>
int Xdr::size< half > ( )
inline

Definition at line 707 of file ImfXdr.h.

template<>
int Xdr::size< signed char > ( )
inline

Definition at line 641 of file ImfXdr.h.

template<>
int Xdr::size< signed int > ( )
inline

Definition at line 665 of file ImfXdr.h.

template<>
int Xdr::size< signed long > ( )
inline

Definition at line 677 of file ImfXdr.h.

template<>
int Xdr::size< signed short > ( )
inline

Definition at line 653 of file ImfXdr.h.

template<>
int Xdr::size< unsigned char > ( )
inline

Definition at line 647 of file ImfXdr.h.

template<>
int Xdr::size< unsigned int > ( )
inline

Definition at line 671 of file ImfXdr.h.

template<>
int Xdr::size< unsigned long > ( )
inline

Definition at line 683 of file ImfXdr.h.

template<>
int Xdr::size< unsigned long long > ( )
inline

Definition at line 689 of file ImfXdr.h.

template<>
int Xdr::size< unsigned short > ( )
inline

Definition at line 659 of file ImfXdr.h.

template<class S , class T >
void Xdr::skip ( T &  in,
int  n 
)

Definition at line 613 of file ImfXdr.h.

template<class S , class T >
void Xdr::write ( T &  out,
bool  v 
)
inline

Definition at line 212 of file ImfXdr.h.

template<class S , class T >
void Xdr::write ( T &  out,
char  v 
)
inline

Definition at line 220 of file ImfXdr.h.

template<class S , class T >
void Xdr::write ( T &  out,
signed char  v 
)
inline

Definition at line 227 of file ImfXdr.h.

template<class S , class T >
void Xdr::write ( T &  out,
unsigned char  v 
)
inline

Definition at line 234 of file ImfXdr.h.

template<class S , class T >
void Xdr::write ( T &  out,
signed short  v 
)

Definition at line 241 of file ImfXdr.h.

template<class S , class T >
void Xdr::write ( T &  out,
unsigned short  v 
)

Definition at line 253 of file ImfXdr.h.

template<class S , class T >
void Xdr::write ( T &  out,
signed int  v 
)

Definition at line 265 of file ImfXdr.h.

template<class S , class T >
void Xdr::write ( T &  out,
unsigned int  v 
)

Definition at line 279 of file ImfXdr.h.

template<class S , class T >
void Xdr::write ( T &  out,
int64_t  v 
)

Definition at line 293 of file ImfXdr.h.

template<class S , class T >
void Xdr::write ( T &  out,
uint64_t  v 
)

Definition at line 311 of file ImfXdr.h.

template<class S , class T >
void Xdr::write ( T &  out,
float  v 
)

Definition at line 329 of file ImfXdr.h.

template<class S , class T >
void Xdr::write ( T &  out,
double  v 
)

Definition at line 350 of file ImfXdr.h.

template<class S , class T >
void Xdr::write ( T &  out,
half  v 
)
inline

Definition at line 375 of file ImfXdr.h.

template<class S , class T >
void Xdr::write ( T &  out,
const char  v[],
int  n 
)
inline

Definition at line 387 of file ImfXdr.h.

template<class S , class T >
void Xdr::write ( T &  out,
const char  v[] 
)

Definition at line 394 of file ImfXdr.h.

template<class S , class T >
void Xdr::writeSignedChars ( T &  out,
const signed char  c[],
int  n 
)
inline

Definition at line 184 of file ImfXdr.h.

template<class S , class T >
void Xdr::writeUnsignedChars ( T &  out,
const unsigned char  c[],
int  n 
)
inline

Definition at line 191 of file ImfXdr.h.