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

Public Member Functions

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

Data Fields

Anope::string last
std::fstream * fs

Additional Inherited Members

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

Detailed Description

Definition at line 17 of file db_flatfile.cpp.

Constructor & Destructor Documentation

◆ SaveData()

SaveData::SaveData ( )

Definition at line 23 of file db_flatfile.cpp.

Member Function Documentation

◆ operator[]()

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

Implements Serialize::Data.

Definition at line 25 of file db_flatfile.cpp.

References fs.

Field Documentation

◆ fs

std::fstream* SaveData::fs

Definition at line 21 of file db_flatfile.cpp.

Referenced by DBFlatFile::OnSaveDatabase(), and operator[]().

◆ last

Anope::string SaveData::last

Definition at line 20 of file db_flatfile.cpp.

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