Limbo 3.5.4
Loading...
Searching...
No Matches
GdfParser::NumberArray Class Reference

bison does not support vector very well, so here create a dummy class for floating point number array. More...

#include <GdfDataBase.h>

Inheritance diagram for GdfParser::NumberArray:

Public Types

typedef vector< double > base_type

Public Member Functions

 NumberArray (const allocator_type &alloc=allocator_type())
 NumberArray (size_type n, const value_type &val, const allocator_type &alloc=allocator_type())

Detailed Description

bison does not support vector very well, so here create a dummy class for floating point number array.

Definition at line 66 of file GdfDataBase.h.

Member Typedef Documentation

◆ base_type

typedef vector<double> GdfParser::NumberArray::base_type

Definition at line 70 of file GdfDataBase.h.

Constructor & Destructor Documentation

◆ NumberArray() [1/2]

GdfParser::NumberArray::NumberArray ( const allocator_type & alloc = allocator_type())
inline

constructor

Parameters
allocmemory allocator

Definition at line 78 of file GdfDataBase.h.

◆ NumberArray() [2/2]

GdfParser::NumberArray::NumberArray ( size_type n,
const value_type & val,
const allocator_type & alloc = allocator_type() )
inline

constructor

Parameters
nnumber of values
valdata value
allocmemory allocator

Definition at line 84 of file GdfDataBase.h.


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