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::stringdata
 
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::LoadData ( )
inline

Definition at line 46 of file db_flatfile.cpp.

Member Function Documentation

◆ Hash()

size_t LoadData::Hash ( ) const
inlinevirtual

Reimplemented from Serialize::Data.

Definition at line 88 of file db_flatfile.cpp.

◆ KeySet()

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

Reimplemented from Serialize::Data.

Definition at line 80 of file db_flatfile.cpp.

◆ operator[]()

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.

◆ Reset()

void LoadData::Reset ( )
inline

Field Documentation

◆ data

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

Definition at line 42 of file db_flatfile.cpp.

◆ fs

std::fstream* LoadData::fs

◆ id

unsigned int LoadData::id

Definition at line 41 of file db_flatfile.cpp.

Referenced by DBFlatFile::OnLoadDatabase().

◆ read

bool LoadData::read

Definition at line 44 of file db_flatfile.cpp.

◆ ss

std::stringstream LoadData::ss

Definition at line 43 of file db_flatfile.cpp.


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