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

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,
Anope::string
data
 
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 ( )
inline

Definition at line 46 of file db_flatfile.cpp.

Member Function Documentation

size_t LoadData::Hash ( ) const
inlinevirtual

Reimplemented from Serialize::Data.

Definition at line 88 of file db_flatfile.cpp.

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

Reimplemented from Serialize::Data.

Definition at line 80 of file db_flatfile.cpp.

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

Implements Serialize::Data.

Definition at line 48 of file db_flatfile.cpp.

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

void LoadData::Reset ( )
inline

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: