KDIS  2-8-x
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
KDefines.h File Reference
#include "./KSymbolicNames.h"
#include <cstring>
#include <string>
#include <sstream>
#include <exception>
Include dependency graph for KDefines.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  KException
 

Namespaces

 KDIS
 

Macros

#define KDIS_EXPORT
 
#define MAX_PDU_SIZE   MAX_PDU_SIZE_OCTETS
 

Typedefs

typedef bool KBOOL
 
typedef char KCHAR8
 
typedef float KFLOAT32
 
typedef double KFLOAT64
 
typedef short int KINT16
 
typedef int KINT32
 
typedef long long KINT64
 
typedef char KINT8
 
typedef char KOCTET
 
typedef std::string KString
 
typedef std::stringstream KStringStream
 
typedef unsigned char KUCHAR8
 
typedef unsigned short int KUINT16
 
typedef unsigned int KUINT32
 
typedef unsigned long long KUINT64
 
typedef unsigned char KUINT8
 
typedef unsigned char KUOCTET
 

Enumerations

enum  Endian { Little_Endian = 0, Big_Endian = 1 }
 
enum  ErrorCodes {
  NO_ERRORS = 0, BUFFER_TOO_SMALL = 1, NOT_ENOUGH_DATA_IN_BUFFER = 2, STRING_PDU_SIZE_TOO_BIG = 3,
  DATA_TYPE_TOO_LARGE = 4, WRONG_PDU_TYPE_IN_HEADER = 5, FILE_NOT_OPEN = 6, OUT_OF_BOUNDS = 7,
  INVALID_DATA = 8, UNSUPPORTED_DATATYPE = 9, INVALID_OPERATION = 10, PDU_TOO_LARGE = 11
}
 

Macro Definition Documentation

#define MAX_PDU_SIZE   MAX_PDU_SIZE_OCTETS
#define KDIS_EXPORT