cartobase  4.5.0
carto Namespace Reference

Namespaces

 interface_internal
 
 internal
 
 Paths
 Paths to configuration / shared data directories.
 
 wrap
 

Classes

class  Algorithm
 
class  AlgorithmCaller
 
class  ArrayInterface
 ArrayInterface represents any container whose elements can be accessed via an integer index. More...
 
class  assert_error
 
class  attachable_cuifstream
 Cette classe n'es l que parce que Dimitri ne voulait pas que je touche sa belle classe cuifstream. More...
 
class  bad_medium_error
 disk / network failure More...
 
class  BaseParameter
 
struct  block
 This array class extends the STL. More...
 
class  ByteSwapper
 
class  const_ref
 Constant Ref to an object of class T. More...
 
class  conversion
 
class  Converter
 High-level converter, reimplementation of aims::Converter. More...
 
class  ConverterAllocator
 This allocator is used by the top-level Converter to allocate a new object depending on the input: it is responsible for dimensioning the output object (ie image dimensions etc) More...
 
class  ConverterSwitch
 This converter is a bit higher-level than RawConverter and Rescaler, it switches to the one or the other depending on the bool template parameter: still not very user-friendly. More...
 
class  ConverterSwitch< INP, OUTP, false >
 Specialization of non-rescaling ConverterSwitch. More...
 
class  ConverterSwitch< INP, OUTP, true >
 Specialization of rescaling ConverterSwitch. More...
 
class  corrupt_stream_error
 corrupt data: not understood by current format More...
 
class  CounterExtractor
 Extractor counting lines. More...
 
class  cuifstream
 Filtering ifstream - counts lines and skips comments. More...
 
class  datatype_format_error
 format is recognized but contains data types that can not be read by curent reader More...
 
class  DataTypeCode
 This class is just a hint to convert an actual data type to an identifier string used in input/output stuff. More...
 
class  DataTypeCode< PropertySet >
 
class  DataTypeCode< rc_ptr< T > >
 
class  DataTypeCode< ReferenceObject< T > >
 
class  DataTypeCode< std::list< T > >
 
class  DataTypeCode< std::map< T, U > >
 
class  DataTypeCode< std::set< T > >
 
class  DataTypeCode< std::vector< T > >
 
class  DataTypeCode< ValueObject< T > >
 
struct  DataTypeTraits
 Properties of data types. More...
 
class  DefaultedRescalerInfo
 
class  DefaultRefConstruction
 
class  DictionaryInterface
 Interface for dictionary-like objects. More...
 
class  DictionaryIteratorInterface
 Specialized IteratorInterface for dictionaries. More...
 
class  Directory
 Encapsulation of a portable opendir / readdir version. More...
 
class  disk_full_error
 disk full or quota exceeded (specialize for quota) More...
 
class  DynArrayInterface
 A dynamic array has resize and insertion capabilities (like a STL vector) More...
 
class  eof_error
 EOF. More...
 
class  errno_error
 System exceptions memorize the value of errno. More...
 
class  ExclusiveContext
 
class  fdinhibitor
 Temporarily closes a file descriptor (typically, stdout/stderr). More...
 
class  file_error
 Exceptions thrown during file manipulation. More...
 
class  file_not_found_error
 file not found: trying to read an non-existing file, or write in a non-existing directory More...
 
class  FileUtil
 Files and filenames portable utilities. More...
 
class  fistreambuf
 Filtering input stream. More...
 
class  format_error
 format-related errors (file parsing / interpreting) More...
 
class  format_mismatch_error
 format is recognized but something goes wrong More...
 
class  fostreambuf
 Filtering output stream. More...
 
class  GenericObject
 base abstract generic object class. More...
 
struct  GenericObjectTypeDeclared
 Class to force a compilation error when a generic object. More...
 
struct  GenericObjectTypeDeclared< GenericObject >
 
struct  GenericObjectTypeDeclared< Object >
 
struct  GenericObjectTypeDeclared< typename interface_internal::MapIterator< std::map< T, U > > >
 
struct  GenericObjectTypeDeclared< typename interface_internal::SetIterator< std::set< T > > >
 
struct  GenericObjectTypeDeclared< typename interface_internal::VectorIterator< V > >
 
class  Headered
 
class  Interface
 
class  invalid_boolean
 
class  invalid_format_error
 format is recognized but contains parameters that can not be handled by curent parser More...
 
class  invalid_integer
 
class  invalid_number
 
class  invalid_positive_integer
 
class  io_error
 general IO error (should be specialized) More...
 
class  is_dir_error
 open as a file something which is a directory More...
 
class  IterableInterface
 Container objects which can be iterated. More...
 
class  IteratorInterface
 An iterator object is a reference to another object. More...
 
class  Lexicon
 
class  LoopContext
 
class  LoopThread
 
class  Mutex
 
class  MutexedObject
 
class  MutexRcPtr
 Mutex-protected rc_ptr. More...
 
class  no_dir_error
 write in a non-existing directory (more precise than file_not_found_error ) More...
 
class  NoneInterface
 Specialized NoneInterface for empty objects (null, None). More...
 
class  not_open_error
 stream not open More...
 
class  Object
 
class  ObjectFactory
 
class  Observer
 
class  open_error
 open failed (read or write), generally specialized More...
 
class  out_of_range_error
 there's already a out_of_range class in <stdexcept> ! More...
 
class  Parameter
 
class  ParameterModifier
 
class  parse_error
 parsing error More...
 
class  permission_error
 read or write permission denied More...
 
class  PointerObject
 
class  PropertyFilter
 
class  PropertySet
 A dictionary generic Object. More...
 
class  quota_exceeded_error
 quota exceeded More...
 
class  RawConverter
 Low-level raw converter (not rescaling) More...
 
class  RawConverter< INP, Void >
 
class  RawConverter< Void, OUTP >
 
class  RawConverter< Void, Void >
 
class  rc_ptr
 Reference-counting pointer. More...
 
class  rc_ptr_trick
 rc_ptr_trick merely makes a public access to the reference counter inside a rc_ptr. More...
 
class  RCObject
 Base class for reference counted objects (intrusive) More...
 
class  read_write_error
 read / write failed (bad medium, disk full, quota exceeded...). More...
 
class  ref
 A ref is a const_ref which can reference non constant objects. More...
 
class  RefConstruction
 
class  RefConstruction< char >
 
class  RefConstruction< double >
 
class  RefConstruction< float >
 
class  RefConstruction< int >
 
class  RefConstruction< long >
 
class  RefConstruction< short >
 
class  RefConstruction< unsigned char >
 
class  RefConstruction< unsigned int >
 
class  RefConstruction< unsigned long >
 
class  RefConstruction< unsigned short >
 
class  RefData
 
class  reference_wrapper
 Wrapper to a reference. More...
 
class  ReferenceObject
 storage wrapper, derived and instanciable template class More...
 
class  Rescaler
 Low-level rescaling converter. More...
 
class  RescalerInfo
 Low level rescaler info used for rescaling. More...
 
class  ScalarInterface
 All scalar numbers implement the ScalarInterface (all ints, float, double...) More...
 
class  scoped_ptr
 Holds a temporary object pointer in a scope. More...
 
struct  select
 
struct  select< false, U, V >
 
struct  Semantic
 Specify properties for semantic attributes - mainly for I/O purposes. More...
 
class  Semaphore
 
class  ShallowConverter
 ShallowConverter only differs from the "standard" Converter in the way that it may make shallow copies of objects if input and output types are identical. More...
 
class  shared_ptr
 A multi-purpose general smart pointer, which can act as either a rc_ptr, a weak_ptr or a weak_shared_ptr. More...
 
class  SharedObject
 SharedObject allows to work with combined reference counting pointers and weak (Observer) pointers. More...
 
class  SizeInterface
 All container objects inherit the SizeInterface. More...
 
class  SmartConverter
 Mid-level converter. More...
 
class  stream_fail_error
 fail or bad bit is set More...
 
class  stream_state_error
 stream state flags errors More...
 
class  StringInterface
 Objects whose value may be represented as a character string. More...
 
class  syntax_check_error
 
class  SyntaxedInterface
 A Syntaxed object is an object containing an additional character string giving it a kind of type (a syntactic attribute). More...
 
class  SyntaxedObject
 
class  SyntaxReader
 Read a SyntaxSet from a file. More...
 
class  SyntaxWriter
 Write a SyntaxSet to a file. More...
 
class  Thread
 Short usage: More...
 
class  ThreadCancel
 
class  ThreadCondition
 
class  ThreadedLoop
 
class  ThreadGauge
 
class  too_many_descriptors_error
 too many open files More...
 
class  TypedObject
 storage wrapper, derived but still abstract template class More...
 
class  TypedObject< const T >
 
class  UncommentExtractor
 Extractor stripping end-of-line comments. More...
 
class  UUID
 Unique identifier class. More...
 
class  ValueObject
 storage wrapper, derived and instanciable template class More...
 
class  VoxelHSV
 HSV Value. More...
 
class  VoxelRGB
 RGB Value. More...
 
class  VoxelRGBA
 RGBA Value. More...
 
class  VoxelValue
 Base class for any multichannel data (RGB, RGBA, HSV, ...) More...
 
class  weak_ptr
 Observer pointer, observing a shfj::WeakObject. More...
 
class  weak_shared_ptr
 weak_shared_ptr: increments a reference count, is told and becomes null whenever the shared object is deleted externally. More...
 
class  WeakObject
 Base class for weakly referenced objects. More...
 
class  wrong_format_error
 wrong format More...
 

Typedefs

typedef AlgorithmCaller algo
 
typedef SyntaxedObject
< PropertySet
AttributedObject
 
typedef std::map< std::string,
Object
Dictionary
 Common type used for DictionaryInterface implementation. More...
 
typedef std::map< int, ObjectIntDictionary
 
typedef std::map< Object, ObjectObjectDictionary
 
typedef std::vector< ObjectObjectVector
 Common type used for ArrayInterface implementation. More...
 
typedef std::map< std::string,
Semantic
SemanticSet
 This lookup table associates a semantic attribute with its properties. More...
 
typedef SemanticSet Syntax
 Specify syntax for syntactic attributes. More...
 
typedef std::map< std::string,
Syntax
SyntaxSet
 This lookup table associates a syntactic attribute with its syntax. More...
 
typedef ::sigc::trackable Observable
 

Functions

void assert_failed (const char *, const char *, int)
 
void test_assert (bool x, const char *ex, const char *file, int line) __attribute__((nonnull))
 
template<typename T >
carto::Object getObjectHeader (Headered &h)
 
Object none ()
 An empty singleton object (holds a null pointer) More...
 
template<typename T >
void object_to (Object o, T &r)
 
template<typename T >
void object_to (Object, const T &)
 
template<>
void object_to (Object o, bool &r)
 
template<>
void object_to (Object o, unsigned char &r)
 
template<>
void object_to (Object o, signed char &r)
 
template<>
void object_to (Object o, char &r)
 
template<>
void object_to (Object o, unsigned short &r)
 
template<>
void object_to (Object o, short &r)
 
template<>
void object_to (Object o, unsigned &r)
 
template<>
void object_to (Object o, int &r)
 
template<>
void object_to (Object o, float &r)
 
template<>
void object_to (Object o, double &r)
 
template<>
void object_to (Object o, std::string &r)
 
template<>
void object_to (Object o, Object &r)
 
template<typename T >
void swap (scoped_ptr< T > &x, scoped_ptr< T > &y)
 
template<typename T , typename U >
weak_ptr< U > weak_cast (const weak_ptr< T > &)
 
unsigned cpuCount ()
 
int byteOrder ()
 
const char * byteOrderString ()
 
int stringToByteOrder (const std::string &bos)
 
template<typename T >
min_limit ()
 
template<typename T >
bool ismin_limit (T value)
 
template<typename T >
bool ismax_limit (T value)
 
template<typename TYPE , typename TEST >
bool isvalidvalue (TYPE value)
 
template<typename TYPE >
TYPE getcheckedmin (double min)
 
template<typename TYPE >
TYPE getcheckedmax (double max)
 
template<typename T >
std::string toString (const T &object)
 
template<>
std::string toString (const char &object)
 
std::vector< std::string > split (const std::string &text, const std::string &sep)
 
std::vector< std::string > split (const std::string &text, const std::set< std::string > &sep)
 
std::string join (const std::vector< std::string > &pieces, const std::string &sep)
 
std::string stringLower (const std::string &)
 
std::string stringUpper (const std::string &)
 
std::string stringStrip (const std::string &str, char c= ' ')
 
bool isInt (const std::string &s)
 Does the string represent a valid integer ? More...
 
bool isFloat (const std::string &s)
 Does the string represent a valid float ? More...
 
template<>
std::string toString (const unsigned char &object)
 
template<>
std::string toString (const signed char &object)
 
template<typename T >
void stringTo (const std::string &value, T &result)
 
template<>
void stringTo< std::string > (const std::string &value, std::string &result)
 
template<>
void stringTo< long > (const std::string &value, long &result)
 
template<>
void stringTo< unsigned long > (const std::string &value, unsigned long &result)
 
template<>
void stringTo< int > (const std::string &value, int &result)
 
template<>
void stringTo< unsigned int > (const std::string &value, unsigned int &result)
 
template<>
void stringTo< unsigned char > (const std::string &value, unsigned char &result)
 
template<>
void stringTo< signed char > (const std::string &value, signed char &result)
 
template<>
void stringTo< char > (const std::string &value, char &result)
 
template<>
void stringTo< unsigned short > (const std::string &value, unsigned short &result)
 
template<>
void stringTo< short > (const std::string &value, short &result)
 
template<>
void stringTo< double > (const std::string &value, double &result)
 
template<>
void stringTo< float > (const std::string &value, float &result)
 
template<>
void stringTo< bool > (const std::string &value, bool &result)
 
template<typename T >
carto::Object getObjectHeader (T &)
 
template<typename T , unsigned int C>
std::ostream & operator<< (std::ostream &out, const VoxelValue< T, C > &aa)
 
template<typename T , unsigned int C>
std::istream & operator>> (std::istream &in, VoxelValue< T, C > &aa)
 
VoxelRGB operator+ (const VoxelRGB &aa, const VoxelRGB &bb)
 
VoxelRGB operator+ (const VoxelRGB &aa, const uint8_t &bb)
 
VoxelRGB operator- (const VoxelRGB &aa, const VoxelRGB &bb)
 
VoxelRGB operator- (const VoxelRGB &aa, const uint8_t &bb)
 
VoxelRGB operator* (const VoxelRGB &aa, const uint8_t &bb)
 
VoxelRGB operator* (const VoxelRGB &aa, const uint16_t &bb)
 
VoxelRGB operator* (const VoxelRGB &aa, const uint32_t &bb)
 
VoxelRGB operator* (const VoxelRGB &aa, const uint64_t &bb)
 
VoxelRGB operator* (const VoxelRGB &aa, const float &bb)
 
VoxelRGB operator* (const VoxelRGB &aa, const double &bb)
 
VoxelRGB operator* (const uint8_t &aa, const VoxelRGB &bb)
 
VoxelRGB operator* (const uint16_t &aa, const VoxelRGB &bb)
 
VoxelRGB operator* (const uint32_t &aa, const VoxelRGB &bb)
 
VoxelRGB operator* (const uint64_t &aa, const VoxelRGB &bb)
 
VoxelRGB operator* (const float &aa, const VoxelRGB &bb)
 
VoxelRGB operator* (const double &aa, const VoxelRGB &bb)
 
VoxelRGB operator/ (const VoxelRGB &aa, const uint8_t &bb)
 
VoxelRGB operator/ (const VoxelRGB &aa, const uint16_t &bb)
 
VoxelRGB operator/ (const VoxelRGB &aa, const uint32_t &bb)
 
VoxelRGB operator/ (const VoxelRGB &aa, const uint64_t &bb)
 
VoxelRGB operator/ (const VoxelRGB &aa, const float &bb)
 
VoxelRGB operator/ (const VoxelRGB &aa, const double &bb)
 
VoxelRGB operator* (const VoxelRGB &aa, const long &bb)
 
VoxelRGB operator* (const long &aa, const VoxelRGB &bb)
 
VoxelRGB operator/ (const VoxelRGB &aa, const long &bb)
 
VoxelRGBA operator+ (const VoxelRGBA &aa, const VoxelRGBA &bb)
 
VoxelRGBA operator+ (const VoxelRGBA &aa, const uint8_t &bb)
 
VoxelRGBA operator- (const VoxelRGBA &aa, const VoxelRGBA &bb)
 
VoxelRGBA operator- (const VoxelRGBA &aa, const uint8_t &bb)
 
VoxelRGBA operator* (const VoxelRGBA &aa, const uint8_t &bb)
 
VoxelRGBA operator* (const VoxelRGBA &aa, const uint16_t &bb)
 
VoxelRGBA operator* (const VoxelRGBA &aa, const uint32_t &bb)
 
VoxelRGBA operator* (const VoxelRGBA &aa, const uint64_t &bb)
 
VoxelRGBA operator* (const VoxelRGBA &aa, const float &bb)
 
VoxelRGBA operator* (const VoxelRGBA &aa, const double &bb)
 
VoxelRGBA operator* (const uint8_t &aa, const VoxelRGBA &bb)
 
VoxelRGBA operator* (const uint16_t &aa, const VoxelRGBA &bb)
 
VoxelRGBA operator* (const uint32_t &aa, const VoxelRGBA &bb)
 
VoxelRGBA operator* (const uint64_t &aa, const VoxelRGBA &bb)
 
VoxelRGBA operator* (const float &aa, const VoxelRGBA &bb)
 
VoxelRGBA operator* (const double &aa, const VoxelRGBA &bb)
 
VoxelRGBA operator/ (const VoxelRGBA &aa, const uint8_t &bb)
 
VoxelRGBA operator/ (const VoxelRGBA &aa, const uint16_t &bb)
 
VoxelRGBA operator/ (const VoxelRGBA &aa, const uint32_t &bb)
 
VoxelRGBA operator/ (const VoxelRGBA &aa, const uint64_t &bb)
 
VoxelRGBA operator/ (const VoxelRGBA &aa, const float &bb)
 
VoxelRGBA operator/ (const VoxelRGBA &aa, const double &bb)
 
VoxelRGBA operator* (const VoxelRGBA &aa, const long &bb)
 
VoxelRGBA operator* (const long &aa, const VoxelRGBA &bb)
 
VoxelRGBA operator/ (const VoxelRGBA &aa, const long &bb)
 
VoxelHSV operator+ (const VoxelHSV &aa, const VoxelHSV &bb)
 
VoxelHSV operator+ (const VoxelHSV &aa, const uint8_t &bb)
 
VoxelHSV operator- (const VoxelHSV &aa, const VoxelHSV &bb)
 
VoxelHSV operator- (const VoxelHSV &aa, const uint8_t &bb)
 
VoxelHSV operator* (const VoxelHSV &aa, const uint8_t &bb)
 
VoxelHSV operator* (const VoxelHSV &aa, const uint16_t &bb)
 
VoxelHSV operator* (const VoxelHSV &aa, const uint32_t &bb)
 
VoxelHSV operator* (const VoxelHSV &aa, const uint64_t &bb)
 
VoxelHSV operator* (const VoxelHSV &aa, const float &bb)
 
VoxelHSV operator* (const VoxelHSV &aa, const double &bb)
 
VoxelHSV operator* (const uint8_t &aa, const VoxelHSV &bb)
 
VoxelHSV operator* (const uint16_t &aa, const VoxelHSV &bb)
 
VoxelHSV operator* (const uint32_t &aa, const VoxelHSV &bb)
 
VoxelHSV operator* (const uint64_t &aa, const VoxelHSV &bb)
 
VoxelHSV operator* (const float &aa, const VoxelHSV &bb)
 
VoxelHSV operator* (const double &aa, const VoxelHSV &bb)
 
VoxelHSV operator/ (const VoxelHSV &aa, const uint8_t &bb)
 
VoxelHSV operator/ (const VoxelHSV &aa, const uint16_t &bb)
 
VoxelHSV operator/ (const VoxelHSV &aa, const uint32_t &bb)
 
VoxelHSV operator/ (const VoxelHSV &aa, const uint64_t &bb)
 
VoxelHSV operator/ (const VoxelHSV &aa, const float &bb)
 
VoxelHSV operator/ (const VoxelHSV &aa, const double &bb)
 
VoxelHSV operator* (const VoxelHSV &aa, const long &bb)
 
VoxelHSV operator* (const long &aa, const VoxelHSV &bb)
 
VoxelHSV operator/ (const VoxelHSV &aa, const long &bb)
 

Variables

const
AlgorithmCaller::LaunchExecution 
execute
 
int verbose
 
int debugMessageLevel
 

Typedef Documentation

Definition at line 186 of file algorithm.h.

Definition at line 43 of file attributed.h.

typedef std::map<std::string, Object> carto::Dictionary

Common type used for DictionaryInterface implementation.

Another DictionaryInterface implementation is commonly used: PropertySet

Definition at line 796 of file object.h.

typedef std::map<int, Object> carto::IntDictionary

Definition at line 797 of file object.h.

Definition at line 798 of file object.h.

typedef std::vector<Object> carto::ObjectVector

Common type used for ArrayInterface implementation.

Definition at line 800 of file object.h.

typedef ::sigc::trackable carto::Observable

Definition at line 46 of file observable.h.

typedef std::map<std::string,Semantic> carto::SemanticSet

This lookup table associates a semantic attribute with its properties.

Definition at line 73 of file syntax.h.

Specify syntax for syntactic attributes.

Definition at line 78 of file syntax.h.

typedef std::map<std::string,Syntax> carto::SyntaxSet

This lookup table associates a syntactic attribute with its syntax.

Definition at line 83 of file syntax.h.

Function Documentation

void carto::assert_failed ( const char *  ,
const char *  ,
int   
)

Referenced by test_assert().

int carto::byteOrder ( )
const char* carto::byteOrderString ( )
unsigned carto::cpuCount ( )
template<typename TYPE >
TYPE carto::getcheckedmax ( double  max)
inline

Definition at line 392 of file converter.h.

template<typename TYPE >
TYPE carto::getcheckedmin ( double  min)
inline

Definition at line 385 of file converter.h.

template<typename T >
carto::Object carto::getObjectHeader ( T &  )

Definition at line 41 of file typetraits.h.

template<typename T >
carto::Object carto::getObjectHeader ( Headered &  h)
inline

Definition at line 106 of file headered.h.

References carto::Headered::header(), and carto::Object::reference().

bool carto::isFloat ( const std::string &  s)

Does the string represent a valid float ?

bool carto::isInt ( const std::string &  s)

Does the string represent a valid integer ?

template<typename T >
bool carto::ismax_limit ( value)
inline

Definition at line 373 of file converter.h.

template<typename T >
bool carto::ismin_limit ( value)
inline

Definition at line 368 of file converter.h.

template<typename TYPE , typename TEST >
bool carto::isvalidvalue ( TYPE  value)
inline

Check that value is valid for the test type

Definition at line 378 of file converter.h.

References std::numeric_limits< _Tp >::max().

std::string carto::join ( const std::vector< std::string > &  pieces,
const std::string &  sep 
)

Concatenate a series of string in a single string.

Parameters
piecesSeries of string to be joined
sepstring to be inserted between the string to be joined
template<typename T >
T carto::min_limit ( )
inline

Returns the negative minimum value, because for some types (double and float) the min value is the nearest value to 0

Definition at line 353 of file converter.h.

References std::numeric_limits< _Tp >::max(), and std::numeric_limits< _Tp >::min().

Object carto::none ( )
template<typename T >
void carto::object_to ( Object  o,
T &  r 
)
inline

Definition at line 1243 of file object.h.

Referenced by carto::interface_internal::SizeImpl< T, B >::size().

template<typename T >
void carto::object_to ( Object  ,
const T &   
)
inline

Definition at line 1254 of file object.h.

template<>
void carto::object_to ( Object  o,
bool &  r 
)
template<>
void carto::object_to ( Object  o,
unsigned char &  r 
)
template<>
void carto::object_to ( Object  o,
signed char &  r 
)
template<>
void carto::object_to ( Object  o,
char &  r 
)
inline

Definition at line 1271 of file object.h.

template<>
void carto::object_to ( Object  o,
unsigned short &  r 
)
template<>
void carto::object_to ( Object  o,
short &  r 
)
template<>
void carto::object_to ( Object  o,
unsigned &  r 
)
template<>
void carto::object_to ( Object  o,
int &  r 
)
template<>
void carto::object_to ( Object  o,
float &  r 
)
template<>
void carto::object_to ( Object  o,
double &  r 
)
inline

Definition at line 1285 of file object.h.

template<>
void carto::object_to ( Object  o,
std::string &  r 
)
template<>
void carto::object_to ( Object  o,
Object &  r 
)
inline

Definition at line 1263 of file object.h.

VoxelHSV carto::operator* ( const VoxelHSV &  aa,
const uint8_t &  bb 
)
inline

Definition at line 451 of file voxelhsv.h.

VoxelHSV carto::operator* ( const VoxelHSV &  aa,
const uint16_t &  bb 
)
inline

Definition at line 461 of file voxelhsv.h.

VoxelHSV carto::operator* ( const VoxelHSV &  aa,
const uint32_t &  bb 
)
inline

Definition at line 471 of file voxelhsv.h.

VoxelHSV carto::operator* ( const VoxelHSV &  aa,
const uint64_t &  bb 
)
inline

Definition at line 481 of file voxelhsv.h.

VoxelHSV carto::operator* ( const VoxelHSV &  aa,
const float &  bb 
)
inline

Definition at line 491 of file voxelhsv.h.

VoxelHSV carto::operator* ( const VoxelHSV &  aa,
const double &  bb 
)
inline

Definition at line 501 of file voxelhsv.h.

VoxelHSV carto::operator* ( const uint8_t &  aa,
const VoxelHSV &  bb 
)
inline

Definition at line 511 of file voxelhsv.h.

VoxelHSV carto::operator* ( const uint16_t &  aa,
const VoxelHSV &  bb 
)
inline

Definition at line 521 of file voxelhsv.h.

VoxelHSV carto::operator* ( const uint32_t &  aa,
const VoxelHSV &  bb 
)
inline

Definition at line 531 of file voxelhsv.h.

VoxelRGB carto::operator* ( const VoxelRGB &  aa,
const uint8_t &  bb 
)
inline

Definition at line 416 of file voxelrgb_def.h.

VoxelHSV carto::operator* ( const uint64_t &  aa,
const VoxelHSV &  bb 
)
inline

Definition at line 541 of file voxelhsv.h.

VoxelRGB carto::operator* ( const VoxelRGB &  aa,
const uint16_t &  bb 
)
inline

Definition at line 426 of file voxelrgb_def.h.

VoxelHSV carto::operator* ( const float &  aa,
const VoxelHSV &  bb 
)
inline

Definition at line 551 of file voxelhsv.h.

VoxelRGB carto::operator* ( const VoxelRGB &  aa,
const uint32_t &  bb 
)
inline

Definition at line 436 of file voxelrgb_def.h.

VoxelHSV carto::operator* ( const double &  aa,
const VoxelHSV &  bb 
)
inline

Definition at line 561 of file voxelhsv.h.

VoxelRGB carto::operator* ( const VoxelRGB &  aa,
const uint64_t &  bb 
)
inline

Definition at line 446 of file voxelrgb_def.h.

VoxelRGBA carto::operator* ( const VoxelRGBA &  aa,
const uint8_t &  bb 
)
inline

Definition at line 485 of file voxelrgba_def.h.

VoxelRGB carto::operator* ( const VoxelRGB &  aa,
const float &  bb 
)
inline

Definition at line 456 of file voxelrgb_def.h.

VoxelRGBA carto::operator* ( const VoxelRGBA &  aa,
const uint16_t &  bb 
)
inline

Definition at line 495 of file voxelrgba_def.h.

VoxelRGB carto::operator* ( const VoxelRGB &  aa,
const double &  bb 
)
inline

Definition at line 466 of file voxelrgb_def.h.

VoxelRGBA carto::operator* ( const VoxelRGBA &  aa,
const uint32_t &  bb 
)
inline

Definition at line 505 of file voxelrgba_def.h.

VoxelRGB carto::operator* ( const uint8_t &  aa,
const VoxelRGB &  bb 
)
inline

Definition at line 476 of file voxelrgb_def.h.

VoxelRGBA carto::operator* ( const VoxelRGBA &  aa,
const uint64_t &  bb 
)
inline

Definition at line 515 of file voxelrgba_def.h.

VoxelRGB carto::operator* ( const uint16_t &  aa,
const VoxelRGB &  bb 
)
inline

Definition at line 486 of file voxelrgb_def.h.

VoxelRGBA carto::operator* ( const VoxelRGBA &  aa,
const float &  bb 
)
inline

Definition at line 525 of file voxelrgba_def.h.

VoxelRGB carto::operator* ( const uint32_t &  aa,
const VoxelRGB &  bb 
)
inline

Definition at line 496 of file voxelrgb_def.h.

VoxelRGBA carto::operator* ( const VoxelRGBA &  aa,
const double &  bb 
)
inline

Definition at line 535 of file voxelrgba_def.h.

VoxelRGB carto::operator* ( const uint64_t &  aa,
const VoxelRGB &  bb 
)
inline

Definition at line 506 of file voxelrgb_def.h.

VoxelRGBA carto::operator* ( const uint8_t &  aa,
const VoxelRGBA &  bb 
)
inline

Definition at line 545 of file voxelrgba_def.h.

VoxelHSV carto::operator* ( const VoxelHSV &  aa,
const long &  bb 
)
inline

Definition at line 658 of file voxelhsv.h.

VoxelRGB carto::operator* ( const float &  aa,
const VoxelRGB &  bb 
)
inline

Definition at line 516 of file voxelrgb_def.h.

VoxelRGBA carto::operator* ( const uint16_t &  aa,
const VoxelRGBA &  bb 
)
inline

Definition at line 555 of file voxelrgba_def.h.

VoxelRGB carto::operator* ( const double &  aa,
const VoxelRGB &  bb 
)
inline

Definition at line 526 of file voxelrgb_def.h.

VoxelHSV carto::operator* ( const long &  aa,
const VoxelHSV &  bb 
)
inline

Definition at line 668 of file voxelhsv.h.

VoxelRGBA carto::operator* ( const uint32_t &  aa,
const VoxelRGBA &  bb 
)
inline

Definition at line 565 of file voxelrgba_def.h.

VoxelRGBA carto::operator* ( const uint64_t &  aa,
const VoxelRGBA &  bb 
)
inline

Definition at line 575 of file voxelrgba_def.h.

VoxelRGBA carto::operator* ( const float &  aa,
const VoxelRGBA &  bb 
)
inline

Definition at line 585 of file voxelrgba_def.h.

VoxelRGBA carto::operator* ( const double &  aa,
const VoxelRGBA &  bb 
)
inline

Definition at line 595 of file voxelrgba_def.h.

VoxelRGB carto::operator* ( const VoxelRGB &  aa,
const long &  bb 
)
inline

Definition at line 623 of file voxelrgb_def.h.

VoxelRGB carto::operator* ( const long &  aa,
const VoxelRGB &  bb 
)
inline

Definition at line 633 of file voxelrgb_def.h.

VoxelRGBA carto::operator* ( const VoxelRGBA &  aa,
const long &  bb 
)
inline

Definition at line 692 of file voxelrgba_def.h.

VoxelRGBA carto::operator* ( const long &  aa,
const VoxelRGBA &  bb 
)
inline

Definition at line 702 of file voxelrgba_def.h.

VoxelHSV carto::operator+ ( const VoxelHSV &  aa,
const VoxelHSV &  bb 
)
inline

Definition at line 411 of file voxelhsv.h.

VoxelHSV carto::operator+ ( const VoxelHSV &  aa,
const uint8_t &  bb 
)
inline

Definition at line 421 of file voxelhsv.h.

VoxelRGB carto::operator+ ( const VoxelRGB &  aa,
const VoxelRGB &  bb 
)
inline

Definition at line 376 of file voxelrgb_def.h.

VoxelRGB carto::operator+ ( const VoxelRGB &  aa,
const uint8_t &  bb 
)
inline

Definition at line 386 of file voxelrgb_def.h.

VoxelRGBA carto::operator+ ( const VoxelRGBA &  aa,
const VoxelRGBA &  bb 
)
inline

Definition at line 445 of file voxelrgba_def.h.

VoxelRGBA carto::operator+ ( const VoxelRGBA &  aa,
const uint8_t &  bb 
)
inline

Definition at line 455 of file voxelrgba_def.h.

VoxelHSV carto::operator- ( const VoxelHSV &  aa,
const VoxelHSV &  bb 
)
inline

Definition at line 431 of file voxelhsv.h.

VoxelHSV carto::operator- ( const VoxelHSV &  aa,
const uint8_t &  bb 
)
inline

Definition at line 441 of file voxelhsv.h.

VoxelRGB carto::operator- ( const VoxelRGB &  aa,
const VoxelRGB &  bb 
)
inline

Definition at line 396 of file voxelrgb_def.h.

VoxelRGB carto::operator- ( const VoxelRGB &  aa,
const uint8_t &  bb 
)
inline

Definition at line 406 of file voxelrgb_def.h.

VoxelRGBA carto::operator- ( const VoxelRGBA &  aa,
const VoxelRGBA &  bb 
)
inline

Definition at line 465 of file voxelrgba_def.h.

VoxelRGBA carto::operator- ( const VoxelRGBA &  aa,
const uint8_t &  bb 
)
inline

Definition at line 475 of file voxelrgba_def.h.

VoxelHSV carto::operator/ ( const VoxelHSV &  aa,
const uint8_t &  bb 
)
inline

Definition at line 571 of file voxelhsv.h.

VoxelHSV carto::operator/ ( const VoxelHSV &  aa,
const uint16_t &  bb 
)
inline

Definition at line 581 of file voxelhsv.h.

VoxelHSV carto::operator/ ( const VoxelHSV &  aa,
const uint32_t &  bb 
)
inline

Definition at line 591 of file voxelhsv.h.

VoxelHSV carto::operator/ ( const VoxelHSV &  aa,
const uint64_t &  bb 
)
inline

Definition at line 601 of file voxelhsv.h.

VoxelHSV carto::operator/ ( const VoxelHSV &  aa,
const float &  bb 
)
inline

Definition at line 611 of file voxelhsv.h.

VoxelHSV carto::operator/ ( const VoxelHSV &  aa,
const double &  bb 
)
inline

Definition at line 621 of file voxelhsv.h.

VoxelRGB carto::operator/ ( const VoxelRGB &  aa,
const uint8_t &  bb 
)
inline

Definition at line 536 of file voxelrgb_def.h.

VoxelHSV carto::operator/ ( const VoxelHSV &  aa,
const long &  bb 
)
inline

Definition at line 678 of file voxelhsv.h.

VoxelRGB carto::operator/ ( const VoxelRGB &  aa,
const uint16_t &  bb 
)
inline

Definition at line 546 of file voxelrgb_def.h.

VoxelRGB carto::operator/ ( const VoxelRGB &  aa,
const uint32_t &  bb 
)
inline

Definition at line 556 of file voxelrgb_def.h.

VoxelRGBA carto::operator/ ( const VoxelRGBA &  aa,
const uint8_t &  bb 
)
inline

Definition at line 605 of file voxelrgba_def.h.

VoxelRGB carto::operator/ ( const VoxelRGB &  aa,
const uint64_t &  bb 
)
inline

Definition at line 566 of file voxelrgb_def.h.

VoxelRGB carto::operator/ ( const VoxelRGB &  aa,
const float &  bb 
)
inline

Definition at line 576 of file voxelrgb_def.h.

VoxelRGBA carto::operator/ ( const VoxelRGBA &  aa,
const uint16_t &  bb 
)
inline

Definition at line 615 of file voxelrgba_def.h.

VoxelRGB carto::operator/ ( const VoxelRGB &  aa,
const double &  bb 
)
inline

Definition at line 586 of file voxelrgb_def.h.

VoxelRGBA carto::operator/ ( const VoxelRGBA &  aa,
const uint32_t &  bb 
)
inline

Definition at line 625 of file voxelrgba_def.h.

VoxelRGBA carto::operator/ ( const VoxelRGBA &  aa,
const uint64_t &  bb 
)
inline

Definition at line 635 of file voxelrgba_def.h.

VoxelRGBA carto::operator/ ( const VoxelRGBA &  aa,
const float &  bb 
)
inline

Definition at line 645 of file voxelrgba_def.h.

VoxelRGBA carto::operator/ ( const VoxelRGBA &  aa,
const double &  bb 
)
inline

Definition at line 655 of file voxelrgba_def.h.

VoxelRGB carto::operator/ ( const VoxelRGB &  aa,
const long &  bb 
)
inline

Definition at line 643 of file voxelrgb_def.h.

VoxelRGBA carto::operator/ ( const VoxelRGBA &  aa,
const long &  bb 
)
inline

Definition at line 712 of file voxelrgba_def.h.

template<typename T , unsigned int C>
std::ostream& carto::operator<< ( std::ostream &  out,
const VoxelValue< T, C > &  aa 
)
inline

Definition at line 93 of file voxelvalue.h.

template<typename T , unsigned int C>
std::istream& carto::operator>> ( std::istream &  in,
VoxelValue< T, C > &  aa 
)
inline

Definition at line 104 of file voxelvalue.h.

std::vector< std::string > carto::split ( const std::string &  text,
const std::string &  sep 
)

Split a string with in parts separated by a substring

Parameters
textstring to be splitted
sepstring to be used as separator
std::vector< std::string > carto::split ( const std::string &  text,
const std::set< std::string > &  sep 
)
std::string carto::stringLower ( const std::string &  )
std::string carto::stringStrip ( const std::string &  str,
char  c = ' ' 
)

Return a copy of str with leading and trailing whitespace removed. If c is given, remove leading and trailing c characters instead of whitespace.

template<typename T >
void carto::stringTo ( const std::string &  value,
T &  result 
)
inline
template<>
void carto::stringTo< bool > ( const std::string &  value,
bool &  result 
)
template<>
void carto::stringTo< char > ( const std::string &  value,
char &  result 
)
inline

Definition at line 228 of file string_conversion.h.

References stringTo< signed char >(), and stringTo< unsigned char >().

template<>
void carto::stringTo< double > ( const std::string &  value,
double &  result 
)
template<>
void carto::stringTo< float > ( const std::string &  value,
float &  result 
)
template<>
void carto::stringTo< int > ( const std::string &  value,
int &  result 
)
template<>
void carto::stringTo< long > ( const std::string &  value,
long &  result 
)
template<>
void carto::stringTo< short > ( const std::string &  value,
short &  result 
)
template<>
void carto::stringTo< signed char > ( const std::string &  value,
signed char &  result 
)

Referenced by stringTo< char >().

template<>
void carto::stringTo< std::string > ( const std::string &  value,
std::string &  result 
)
inline

Definition at line 161 of file string_conversion.h.

References stringTo< std::string >().

Referenced by stringTo< std::string >().

template<>
void carto::stringTo< unsigned char > ( const std::string &  value,
unsigned char &  result 
)

Referenced by stringTo< char >().

template<>
void carto::stringTo< unsigned int > ( const std::string &  value,
unsigned int &  result 
)
template<>
void carto::stringTo< unsigned long > ( const std::string &  value,
unsigned long &  result 
)
template<>
void carto::stringTo< unsigned short > ( const std::string &  value,
unsigned short &  result 
)
int carto::stringToByteOrder ( const std::string &  bos)
std::string carto::stringUpper ( const std::string &  )
template<typename T >
void carto::swap ( scoped_ptr< T > &  x,
scoped_ptr< T > &  y 
)
inline

Definition at line 147 of file scopedptr.h.

References carto::scoped_ptr< T >::swap().

void carto::test_assert ( bool  x,
const char *  ex,
const char *  file,
int  line 
)
inline

Definition at line 76 of file assert.h.

References assert_failed().

template<typename T >
std::string carto::toString ( const T &  object)
inline
template<>
std::string carto::toString ( const char &  object)
inline

Definition at line 68 of file string_conversion.h.

template<>
std::string carto::toString ( const unsigned char &  object)
inline

Definition at line 110 of file string_conversion.h.

template<>
std::string carto::toString ( const signed char &  object)
inline

Definition at line 121 of file string_conversion.h.

template<typename T , typename U >
weak_ptr<U> carto::weak_cast ( const weak_ptr< T > &  )

Variable Documentation

int carto::debugMessageLevel
const AlgorithmCaller::LaunchExecution carto::execute