InspIRCd  2.0
 All Classes Namespaces Functions Variables Typedefs Enumerations
Public Member Functions | Public Attributes | List of all members
Version Class Reference

#include <modules.h>

Public Member Functions

 Version (const std::string &desc, int flags=VF_NONE)
 
 Version (const std::string &desc, int flags, const std::string &linkdata)
 

Public Attributes

const std::string description
 
const int Flags
 
const std::string link_data
 

Detailed Description

Holds a module's Version information. The members (set by the constructor only) indicate details as to the version number of a module. A class of type Version is returned by the GetVersion method of the Module class.

Constructor & Destructor Documentation

Version::Version ( const std::string &  desc,
int  flags = VF_NONE 
)

Simple module version

Version::Version ( const std::string &  desc,
int  flags,
const std::string &  linkdata 
)

Complex version information, including linking compatability data

Member Data Documentation

const std::string Version::description

Module description

const int Version::Flags

Flags

const std::string Version::link_data

Server linking description string


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