All Classes Files Functions Variables Enumerations Enumerator Macros
Public Member Functions | Static Public Member Functions | List of all members
InitLists Class Reference

Loads the showlist and blacklist files into arrays. More...

#include <initlists.hpp>

Public Member Functions

 InitLists ()
 Default constructor. More...
 
 ~InitLists ()
 Default destructor. More...
 

Static Public Member Functions

static bool initShowlist (ConfigOpts *)
 Loads the contents of the showlist file into an array. More...
 
static bool initBlacklist (ConfigOpts *)
 Loads the contents of the blacklist file into an array. More...
 

Detailed Description

Loads the showlist and blacklist files into arrays.

Parses each file as stores each setting to the ConfigOpts::flags[23] array or to the ConfigOpts::options[23] array

Definition at line 21 of file initlists.hpp.

Constructor & Destructor Documentation

InitLists::InitLists ( )

Default constructor.

Definition at line 15 of file initlists.cpp.

InitLists::~InitLists ( )

Default destructor.

Definition at line 20 of file initlists.cpp.

Member Function Documentation

bool InitLists::initBlacklist ( ConfigOpts confOpt)
static

Loads the contents of the blacklist file into an array.

Parameters
confOpt- the object that will hold the blacklist file contents.
Returns
A boolean, 0 for success, 1 for failure.

Definition at line 142 of file initlists.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bool InitLists::initShowlist ( ConfigOpts confOpt)
static

Loads the contents of the showlist file into an array.

Parameters
confOptthe options object that contain all stored variables

Definition at line 26 of file initlists.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:


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