Planeshift
Mirror Class Reference

#include <updaterconfig.h>

Public Member Functions

const char * GetBaseURL () const
 
unsigned int GetID () const
 
const char * GetName () const
 
bool IsRepair () const
 Returns if the server is a server supporting repair. More...
 
 Mirror ()
 
void SetBaseURL (csString url)
 
void SetBaseURL (const char *baseURL)
 
void SetID (uint id)
 
void SetIsRepair (const bool repair)
 Sets if the current server supports repair. More...
 
void SetName (const char *name)
 
 ~Mirror ()
 

Protected Attributes

csString baseURL
 
uint id
 
csString name
 
bool repair
 Holds if this is a repair server. More...
 

Detailed Description

Definition at line 41 of file updaterconfig.h.

Constructor & Destructor Documentation

Mirror::Mirror ( )
inline

Definition at line 44 of file updaterconfig.h.

Mirror::~Mirror ( )
inline

Definition at line 48 of file updaterconfig.h.

Member Function Documentation

const char* Mirror::GetBaseURL ( ) const
inline

Definition at line 57 of file updaterconfig.h.

unsigned int Mirror::GetID ( ) const
inline

Definition at line 51 of file updaterconfig.h.

const char* Mirror::GetName ( ) const
inline

Definition at line 54 of file updaterconfig.h.

bool Mirror::IsRepair ( ) const
inline

Returns if the server is a server supporting repair.

So that can be used for it.

Returns
TRUE if the server supports repair

Definition at line 62 of file updaterconfig.h.

void Mirror::SetBaseURL ( csString  url)
inline

Definition at line 65 of file updaterconfig.h.

void Mirror::SetBaseURL ( const char *  baseURL)
inline

Definition at line 69 of file updaterconfig.h.

void Mirror::SetID ( uint  id)
inline

Definition at line 67 of file updaterconfig.h.

void Mirror::SetIsRepair ( const bool  repair)
inline

Sets if the current server supports repair.

Parameters
repairSet this as true if this is a server supporting repair.

Definition at line 74 of file updaterconfig.h.

void Mirror::SetName ( const char *  name)
inline

Definition at line 68 of file updaterconfig.h.

Member Data Documentation

csString Mirror::baseURL
protected

Definition at line 84 of file updaterconfig.h.

uint Mirror::id
protected

Definition at line 78 of file updaterconfig.h.

csString Mirror::name
protected

Definition at line 81 of file updaterconfig.h.

bool Mirror::repair
protected

Holds if this is a repair server.

Definition at line 87 of file updaterconfig.h.


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