Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <csv.h>
Public Types | |
enum | optimizer_enum { optimizer_undefined =0x7fffffff } |
Public Member Functions | |
CSVTable (std::string name, std::string saveroot) | |
CSVTable (VSFileSystem::VSFile &f, std::string saveroot) | |
bool | RowExists (std::string name, unsigned int &where) |
bool | ColumnExists (std::string name, unsigned int &where) |
void | SetupOptimizer (std::vector< std::string >keys, unsigned int type) |
Public Attributes | |
std::string | rootdir |
vsUMap< std::string, int > | columns |
vsUMap< std::string, int > | rows |
std::vector< std::string > | key |
std::vector< std::string > | table |
bool | optimizer_setup |
unsigned int | optimizer_type |
std::vector< std::string > | optimizer_keys |
std::vector< unsigned int > | optimizer_indexes |
CSVTable::CSVTable | ( | std::string | name, |
std::string | saveroot | ||
) |
CSVTable::CSVTable | ( | VSFileSystem::VSFile & | f, |
std::string | saveroot | ||
) |
void CSVTable::SetupOptimizer | ( | std::vector< std::string > | keys, |
unsigned int | type | ||
) |
Definition at line 214 of file csv.cpp.
References ColumnExists(), optimizer_indexes, optimizer_keys, optimizer_setup, optimizer_type, and optimizer_undefined.
Referenced by Unit::LoadRow().
Definition at line 22 of file csv.h.
Referenced by ColumnExists().
std::vector< std::string > CSVTable::key |
Definition at line 24 of file csv.h.
Referenced by CSVRow::CSVRow(), CSVRow::getKey(), and CSVRow::size().
std::vector< unsigned int > CSVTable::optimizer_indexes |
Definition at line 42 of file csv.h.
Referenced by SetupOptimizer().
std::vector< std::string > CSVTable::optimizer_keys |
Definition at line 41 of file csv.h.
Referenced by SetupOptimizer().
bool CSVTable::optimizer_setup |
Definition at line 39 of file csv.h.
Referenced by Unit::LoadRow(), and SetupOptimizer().
unsigned int CSVTable::optimizer_type |
Definition at line 40 of file csv.h.
Referenced by SetupOptimizer().
std::string CSVTable::rootdir |
Definition at line 21 of file csv.h.
Referenced by CSVRow::getRoot().
Definition at line 23 of file csv.h.
Referenced by getAITypes(), and RowExists().
std::vector< std::string > CSVTable::table |
Definition at line 25 of file csv.h.
Referenced by CSVRow::operator[]().