FlightGear next
flightgear::addons::Contact Class Reference

#include <contacts.hxx>

Inherits SGReferenced.

Inherited by flightgear::addons::Author, and flightgear::addons::Maintainer.

Public Member Functions

 Contact (ContactType type, std::string name, std::string email="", std::string url="")
 
virtual ~Contact ()=default
 
ContactType getType () const
 
std::string getTypeString () const
 
std::string getName () const
 
void setName (const std::string &name)
 
std::string getEmail () const
 
void setEmail (const std::string &email)
 
std::string getUrl () const
 
void setUrl (const std::string &url)
 

Static Public Member Functions

static void setupGhost (nasal::Hash &addonsModule)
 

Detailed Description

Definition at line 47 of file contacts.hxx.

Constructor & Destructor Documentation

◆ Contact()

flightgear::addons::Contact::Contact ( ContactType type,
std::string name,
std::string email = "",
std::string url = "" )

Definition at line 44 of file contacts.cxx.

◆ ~Contact()

virtual flightgear::addons::Contact::~Contact ( )
virtualdefault

Member Function Documentation

◆ getEmail()

string flightgear::addons::Contact::getEmail ( ) const

Definition at line 74 of file contacts.cxx.

◆ getName()

string flightgear::addons::Contact::getName ( ) const

Definition at line 68 of file contacts.cxx.

◆ getType()

ContactType flightgear::addons::Contact::getType ( ) const

Definition at line 51 of file contacts.cxx.

◆ getTypeString()

string flightgear::addons::Contact::getTypeString ( ) const

Definition at line 54 of file contacts.cxx.

◆ getUrl()

string flightgear::addons::Contact::getUrl ( ) const

Definition at line 80 of file contacts.cxx.

◆ setEmail()

void flightgear::addons::Contact::setEmail ( const std::string & email)

Definition at line 77 of file contacts.cxx.

◆ setName()

void flightgear::addons::Contact::setName ( const std::string & name)

Definition at line 71 of file contacts.cxx.

◆ setupGhost()

void flightgear::addons::Contact::setupGhost ( nasal::Hash & addonsModule)
static

Definition at line 87 of file contacts.cxx.

◆ setUrl()

void flightgear::addons::Contact::setUrl ( const std::string & url)

Definition at line 83 of file contacts.cxx.


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