CFEL - ASG Software Suite  2.5.0
CASS
Classes | Namespaces | Macros | Typedefs | Functions | Variables
cass.h File Reference

file contains global definitions for project cass More...

#include <cassert>
#include <iterator>
#include <list>
#include <vector>
#include <map>
#include <sstream>
#include <fstream>
#include <stdexcept>
#include <tr1/memory>
#include <QtCore/qglobal.h>
#include <QtCore/QDataStream>
#include <stdint.h>
+ Include dependency graph for cass.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  cass::FilePointer
 A resource that will point at a specific location within a file. More...
 
struct  cass::Tokenizer
 tokenize to return all lines of an ascii file in a vector More...
 
struct  cass::Splitter
 split the line into the values in that line More...
 

Namespaces

 cass
 
 cass::Streaming
 

Macros

#define CASSSHARED_EXPORT   Q_DECL_IMPORT
 
#define VERBOSEOUT(a)   {}
 
#define DEBUGOUT(a)   {}
 

Typedefs

typedef std::pair< std::tr1::shared_ptr< FileReader >, FilePointer > cass::filereaderpointerpair_t
 pair of a file pointer with the associated file reader More...
 
typedef std::vector< filereaderpointerpair_t > cass::positionreaders_t
 map file name to the filepointer More...
 
typedef std::map< uint64_t, positionreaders_t > cass::event2positionreaders_t
 the list of events contained in a file with the associated position and reader More...
 

Functions

template<typename Type >
std::string cass::toString (const Type &t)
 convert any type to a string More...
 
template<typename T >
cass::square (const T &val)
 multiply number by itself More...
 
template<typename T >
cass::Streaming::retrieve (std::ifstream &file)
 retrieve a variable from a file stream More...
 
template<typename T >
cass::Streaming::peek (std::ifstream &file)
 retrieve a variable from a file stream without extracting it More...
 
template<typename T >
QDataStreamcass::Streaming::operator>> (QDataStream &stream, T &evt)
 reading a type from the QDataStream More...
 
template<typename T >
std::ifstream & cass::Streaming::operator>> (std::ifstream &stream, T &evt)
 reading a type from the filestream More...
 

Variables

const size_t cass::RingBufferSize =32
 global variable to set the ring buffer size More...
 
const size_t cass::NbrOfWorkers =16
 global variable to set the number of worker threads More...
 

Detailed Description

file contains global definitions for project cass

Author
Lutz Foucar

Definition in file cass.h.

Macro Definition Documentation

#define CASSSHARED_EXPORT   Q_DECL_IMPORT

Definition at line 30 of file cass.h.

#define DEBUGOUT (   a)    {}

Definition at line 44 of file cass.h.

#define VERBOSEOUT (   a)    {}

Definition at line 38 of file cass.h.

Referenced by cass::pp300::process().