INET Framework for OMNeT++/OMNEST
Chunk.h File Reference

Classes

class  inet::Chunk
 This class represents a piece of data that is usually part of a packet or some other data such as a protocol buffer. More...
 
class  inet::Chunk::Iterator
 
class  inet::Chunk::ForwardIterator
 Position and index are measured from the beginning. More...
 
class  inet::Chunk::BackwardIterator
 Position and index are measured from the end. More...
 

Namespaces

 inet
 Copyright (c) 2005 Jan Ringo�, www.ringos.cz.
 

Macros

#define CHUNK_CHECK_IMPLEMENTATION_ENABLED   0
 
#define CHUNK_CHECK_IMPLEMENTATION(condition)   ;
 
#define CHUNK_CHECK_USAGE_ENABLED   1
 
#define CHUNK_CHECK_USAGE(condition, format, ...)   ((void)((condition) ? 0 : throw cRuntimeError("Error: " format, ## __VA_ARGS__)))
 

Typedefs

typedef TemporarySharedPtr< Chunk > inet::ChunkTemporarySharedPtr
 

Functions

template<typename T >
const Ptr< T > inet::makeExclusivelyOwnedMutableChunk (const Ptr< const T > &chunk)
 

Macro Definition Documentation

◆ CHUNK_CHECK_IMPLEMENTATION

#define CHUNK_CHECK_IMPLEMENTATION (   condition)    ;

◆ CHUNK_CHECK_IMPLEMENTATION_ENABLED

#define CHUNK_CHECK_IMPLEMENTATION_ENABLED   0

◆ CHUNK_CHECK_USAGE

#define CHUNK_CHECK_USAGE (   condition,
  format,
  ... 
)    ((void)((condition) ? 0 : throw cRuntimeError("Error: " format, ## __VA_ARGS__)))

◆ CHUNK_CHECK_USAGE_ENABLED

#define CHUNK_CHECK_USAGE_ENABLED   1