AgentXcpp  Revision:0.1
Internals Documentation
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends
/home/tanjeff/projekte/agentxcpp/src/types.hpp File Reference
#include <string>
#include <istream>
#include <ostream>
Include dependency graph for types.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  data_t
 A type representing a contigous byte stream. More...

Typedefs

typedef unsigned char uint8_t
typedef unsigned short uint16_t
typedef unsigned int uint32_t
typedef signed int int32_t
typedef unsigned long long uint64_t
typedef unsigned char byte_t
 A type with exactly 8 bits.

Functions

std::ostream & operator<< (std::ostream &out, const data_t &stream)

Typedef Documentation

typedef unsigned char byte_t

A type with exactly 8 bits.

The char types in C++ (char, unsigned char, signed char) are defined to have at least 8 bits. Although these types probably have 8 bits on virtually every platform, I'm a perfectionist here and define my own type, so that it can be redefined in one central place.

Definition at line 40 of file types.hpp.

typedef signed int int32_t

Definition at line 29 of file types.hpp.

typedef unsigned short uint16_t

Definition at line 27 of file types.hpp.

typedef unsigned int uint32_t

Definition at line 28 of file types.hpp.

typedef unsigned long long uint64_t

Definition at line 30 of file types.hpp.

typedef unsigned char uint8_t

Definition at line 26 of file types.hpp.


Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const data_t stream 
) [inline]

Definition at line 47 of file types.hpp.