Logo Search packages:      
Sourcecode: pan version File versions

pan::Scorefile Struct Reference
[Backend Interfaces]

#include <scorefile.h>

List of all members.


Detailed Description

Handles slrn-style Score files.

Definition at line 35 of file scorefile.h.


Public Types

typedef std::deque< Itemitems_t
typedef std::deque< Sectionsections_t

Public Member Functions

void clear ()
void get_matching_sections (const StringView &groupname, std::vector< const Section * > &setme) const
const sections_t & get_sections () const
int parse_file (const StringView &filename)
 Scorefile (FilenameToReader *ftr=new FilenameToReader())

Static Public Member Functions

static std::string build_score_string (const StringView &section_wildmat, int score_value, bool score_assign_flag, int lifespan_days, bool all_items_must_be_true, const AddItem *items, size_t item_count)

Protected Attributes

sections_t _sections

Private Member Functions

Sectionget_section (const StringView &name)
int parse_file (ParseContext &context, const StringView &filename)

Private Attributes

FilenameToReader_filename_to_reader

Classes

struct  AddItem
struct  FilenameToReader
struct  Item
struct  ParseContext
struct  Section

The documentation for this struct was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index