EZC3D
Namespaces | Classes | Enumerations | Functions
ezc3d Namespace Reference

Namespace ezc3d. More...

Namespaces

 DataNS
 Namespace that holds the Data hierarchy.
 
 ParametersNS
 Namespace that holds the Parameters hierarchy.
 

Classes

class  c3d
 Main class for C3D holder. More...
 
class  Header
 Header of a C3D file. More...
 

Enumerations

enum  DATA_TYPE {
  CHAR = -1, BYTE = 1, INT = 2, WORD = 2,
  FLOAT = 4, NO_DATA_TYPE = 10000
}
 Enum that describes the size of different types.
 
enum  PROCESSOR_TYPE { INTEL = 84, DEC = 85, MIPS = 86, NO_PROCESSOR_TYPE = INTEL }
 The type of processor used to store the data.
 

Functions

void removeTrailingSpaces (std::string &str)
 Remove the spaces at the end of a string. More...
 
std::string toUpper (const std::string &str)
 Swap all characters of a string to capital letters. More...
 

Detailed Description

Namespace ezc3d.

Useful functions, enum and misc useful for the ezc3d project

Function Documentation

◆ removeTrailingSpaces()

void ezc3d::removeTrailingSpaces ( std::string &  str)

Remove the spaces at the end of a string.

Parameters
strThe string to remove the trailing spaces from.

The function receive a string and modify it by remove the trailing spaces

Definition at line 16 of file ezc3d.cpp.

◆ toUpper()

std::string ezc3d::toUpper ( const std::string &  str)

Swap all characters of a string to capital letters.

Parameters
strThe string to capitalize

Definition at line 25 of file ezc3d.cpp.