libnolimits  1.0.0-beta
A NoLimits Roller Coaster 1 and 2 Library written in C++, which provides functionality to manipulate and create NoLimits 2 Parks or NoLimits 1 Tracks programmatically.
Public Types | Public Member Functions | Private Attributes | List of all members
NoLimits::NoLimits2::Section Class Reference

#include <Section.h>

Collaboration diagram for NoLimits::NoLimits2::Section:
[legend]

Public Types

enum  SectionType {
  Track, Station, Lift, Transport,
  Brake, Storage
}
 

Public Member Functions

 Section (SectionType sectionType)
 
 Section ()
 
void debug ()
 
SectionType getSectionType () const
 
void setSectionType (const SectionType &sectionType)
 
std::string getName () const
 
void setName (const std::string &value)
 
SectiongetSection () const
 
void setSection (Section *value)
 

Private Attributes

SectionType _sectionType
 
std::string name
 
Sectionsection
 

Member Enumeration Documentation

◆ SectionType

Enumerator
Track 
Station 
Lift 
Transport 
Brake 
Storage 

Constructor & Destructor Documentation

◆ Section() [1/2]

NoLimits::NoLimits2::Section::Section ( SectionType  sectionType)
inline

◆ Section() [2/2]

NoLimits::NoLimits2::Section::Section ( )
inline

Member Function Documentation

◆ debug()

void NoLimits::NoLimits2::Section::debug ( )
inlinevirtual

◆ getName()

std::string NoLimits::NoLimits2::Section::getName ( ) const

◆ getSection()

Section * NoLimits::NoLimits2::Section::getSection ( ) const

◆ getSectionType()

Section::SectionType NoLimits::NoLimits2::Section::getSectionType ( ) const

◆ setName()

void NoLimits::NoLimits2::Section::setName ( const std::string &  value)

◆ setSection()

void NoLimits::NoLimits2::Section::setSection ( Section value)

◆ setSectionType()

void NoLimits::NoLimits2::Section::setSectionType ( const SectionType sectionType)

Member Data Documentation

◆ _sectionType

SectionType NoLimits::NoLimits2::Section::_sectionType
private

◆ name

std::string NoLimits::NoLimits2::Section::name
private

◆ section

Section* NoLimits::NoLimits2::Section::section
private

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