Anope IRC Services  Version 2.0
Public Member Functions | Data Fields
LoadData Class Reference
Inheritance diagram for LoadData:
Inheritance graph
Collaboration diagram for LoadData:
Collaboration graph

Public Member Functions

 LoadData ()
std::iostream & operator[] (const Anope::string &key) anope_override
std::set< Anope::stringKeySet () const anope_override
size_t Hash () const anope_override
void Reset ()
- Public Member Functions inherited from Serialize::Data
virtual ~Data ()
virtual void SetType (const Anope::string &key, Type t)
virtual Type GetType (const Anope::string &key) const

Data Fields

std::fstream * fs
unsigned int id
std::map< Anope::string,
std::stringstream ss
bool read

Additional Inherited Members

- Public Types inherited from Serialize::Data
enum  Type { DT_TEXT, DT_INT }

Detailed Description

Definition at line 37 of file db_flatfile.cpp.

Constructor & Destructor Documentation

LoadData::LoadData ( )

Definition at line 46 of file db_flatfile.cpp.

Member Function Documentation

size_t LoadData::Hash ( ) const

Reimplemented from Serialize::Data.

Definition at line 88 of file db_flatfile.cpp.

std::set<Anope::string> LoadData::KeySet ( ) const

Reimplemented from Serialize::Data.

Definition at line 80 of file db_flatfile.cpp.

std::iostream& LoadData::operator[] ( const Anope::string key)

Implements Serialize::Data.

Definition at line 48 of file db_flatfile.cpp.

References Anope::string::npos, and ss.

void LoadData::Reset ( )

Field Documentation

std::map<Anope::string, Anope::string> LoadData::data

Definition at line 42 of file db_flatfile.cpp.

std::fstream* LoadData::fs
unsigned int LoadData::id

Definition at line 41 of file db_flatfile.cpp.

Referenced by DBFlatFile::OnLoadDatabase().

bool LoadData::read

Definition at line 44 of file db_flatfile.cpp.

std::stringstream LoadData::ss

Definition at line 43 of file db_flatfile.cpp.

Referenced by operator[]().

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