Limbo 3.5.4
Loading...
Searching...
No Matches
BookshelfParser::IntegerArray Class Reference

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

#include <BookshelfDataBase.h>

Inheritance diagram for BookshelfParser::IntegerArray:

Public Types

typedef vector< int > base_type

Public Member Functions

 IntegerArray (const allocator_type &alloc=allocator_type())
 IntegerArray (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 integer array.

Definition at line 38 of file BookshelfDataBase.h.

Member Typedef Documentation

◆ base_type

typedef vector<int> BookshelfParser::IntegerArray::base_type

Definition at line 42 of file BookshelfDataBase.h.

Constructor & Destructor Documentation

◆ IntegerArray() [1/2]

BookshelfParser::IntegerArray::IntegerArray ( const allocator_type & alloc = allocator_type())
inline

constructor

Parameters
allocmemory allocator

Definition at line 50 of file BookshelfDataBase.h.

◆ IntegerArray() [2/2]

BookshelfParser::IntegerArray::IntegerArray ( 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 56 of file BookshelfDataBase.h.


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