The Fib multimedia system
Fib is a system for storing multimedia data (like images or films).
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
fib::cFibObjectCounts Class Reference

#include <cFibObjectCounts.h>

Collaboration diagram for fib::cFibObjectCounts:

List of all members.

Public Types

typedef valarray< intFibtypeVecCounters

Public Member Functions

 cFibObjectCounts ()
cFibObjectCountsoperator+= (const cFibObjectCounts &fibObjectCounts)
cFibObjectCountsoperator-= (const cFibObjectCounts &fibObjectCounts)
intFib evalueAllFibElements ()
intFib getNumberOfMovePoints () const

Static Public Member Functions

static int elementTypeToIndex (char cType)
static char indexToElementType (const char index)
static bool isValidType (const char cType)

Public Attributes

typeVecCounters vecNumberOfFibElements
intFib uiNumberOfObjectpoints

Static Public Attributes

static const char MAX_ELEMENT_TYPS = 13
static const char ALL = 0
static const char POINT = 1
static const char LIST = 2
static const char ROOT = 3
static const char IF = 4
static const char PROPERTY = 5
static const char FUNCTION = 6
static const char AREA = 7
static const char COMMENT = 8
static const char EXT_OBJECT = 9
static const char EXT_SUBOBJECT = 10
static const char FIB_SET = 11
static const char FIB_MATRIX = 12

Detailed Description

Definition at line 57 of file cFibObjectCounts.h.


Member Typedef Documentation

The type for the vector with the counters of the Fib-elements.

See also:
vecNumberOfFibElements

Definition at line 71 of file cFibObjectCounts.h.


Constructor & Destructor Documentation

fib::cFibObjectCounts::cFibObjectCounts ( )

Standardconstructor


Member Function Documentation

static int fib::cFibObjectCounts::elementTypeToIndex ( char  cType)
static
Parameters:
cTypethe char for the Fib-elementtype for which to return the index in the
See also:
uiNumberOfFibElements array
Returns:
the indexnumber for the
See also:
uiNumberOfFibElements array which contains the count of the elements of the given type
intFib fib::cFibObjectCounts::evalueAllFibElements ( )

This method reevalues the counter for all fib elements with the help of the counters of the Fib-elements of the different typs.

Returns:
the number of all Fib-elements
intFib fib::cFibObjectCounts::getNumberOfMovePoints ( ) const
Returns:
the number of move points evalued with the help of counters of the Fib-elements of the different typs
static char fib::cFibObjectCounts::indexToElementType ( const char  index)
static
Parameters:
indexthe index for which to return the Fib-elementtype char
Returns:
the char for the elementtype, which has the given index in the
See also:
uiNumberOfFibElements array
static bool fib::cFibObjectCounts::isValidType ( const char  cType)
static

This function checks if the given type char stands for an valid / existing type.

See also:
cFibElement::getType()
Parameters:
cTypethe type char to check
Returns:
true if the type for the given type char is valid /exists, else false
cFibObjectCounts& fib::cFibObjectCounts::operator+= ( const cFibObjectCounts fibObjectCounts)

The adding operator. It adds the counts of the given cFibObjectCounts to this cFibObjectCounts.

Parameters:
fibObjectCountsthe counts to add
Returns:
a reference to this object
cFibObjectCounts& fib::cFibObjectCounts::operator-= ( const cFibObjectCounts fibObjectCounts)

The subtracting operator. It adds the counts of the given cFibObjectCounts to this cFibObjectCounts.

Parameters:
fibObjectCountsthe counts to subtract
Returns:
a reference to this object

Member Data Documentation

const char fib::cFibObjectCounts::ALL = 0
static

Defines for the Fib-element type position in

See also:
uiNumberOfFibElements . Thy can be use as an index in uiNumberOfFibElements .

Definition at line 78 of file cFibObjectCounts.h.

const char fib::cFibObjectCounts::AREA = 7
static

Definition at line 85 of file cFibObjectCounts.h.

const char fib::cFibObjectCounts::COMMENT = 8
static

Definition at line 86 of file cFibObjectCounts.h.

const char fib::cFibObjectCounts::EXT_OBJECT = 9
static

Definition at line 87 of file cFibObjectCounts.h.

const char fib::cFibObjectCounts::EXT_SUBOBJECT = 10
static

Definition at line 88 of file cFibObjectCounts.h.

const char fib::cFibObjectCounts::FIB_MATRIX = 12
static

Definition at line 90 of file cFibObjectCounts.h.

const char fib::cFibObjectCounts::FIB_SET = 11
static

Definition at line 89 of file cFibObjectCounts.h.

const char fib::cFibObjectCounts::FUNCTION = 6
static

Definition at line 84 of file cFibObjectCounts.h.

const char fib::cFibObjectCounts::IF = 4
static

Definition at line 82 of file cFibObjectCounts.h.

const char fib::cFibObjectCounts::LIST = 2
static

Definition at line 80 of file cFibObjectCounts.h.

const char fib::cFibObjectCounts::MAX_ELEMENT_TYPS = 13
static

The maximal number of possible Fib-elementtyps.

See also:
uiNumberOfFibElements .

Definition at line 65 of file cFibObjectCounts.h.

const char fib::cFibObjectCounts::POINT = 1
static

Definition at line 79 of file cFibObjectCounts.h.

const char fib::cFibObjectCounts::PROPERTY = 5
static

Definition at line 83 of file cFibObjectCounts.h.

const char fib::cFibObjectCounts::ROOT = 3
static

Definition at line 81 of file cFibObjectCounts.h.

intFib fib::cFibObjectCounts::uiNumberOfObjectpoints

The number of objectpoints.

Definition at line 100 of file cFibObjectCounts.h.

typeVecCounters fib::cFibObjectCounts::vecNumberOfFibElements

The number of Fib-elements of the given type.

Definition at line 95 of file cFibObjectCounts.h.


The documentation for this class was generated from the following file: