InspIRCd  3.0
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() [1/2]

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

Simple module version

◆ Version() [2/2]

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

Complex version information, including linking compatibility data

Member Data Documentation

◆ description

const std::string Version::description

Module description

◆ Flags

const int Version::Flags


◆ link_data

const std::string Version::link_data

Server linking description string

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