SimCenterCommon
Common functionality used within different SimCenter projects
Wall Class Reference

#include <Wall.h>

Public Member Functions

 Wall ()
 
 ~Wall ()
 
int readFromJSON (json_t *)
 
int writeToJSON (json_t *)
 

Static Public Member Functions

static int readObjects (json_t *, map< string, Wall * > &theWalls)
 
static int writeObjects (json_t *)
 
static int removeWall (string name)
 
static WallgetWall (string name)
 
static int removeAllWall (void)
 
static int addWall (string name, string cline1, string cline2, string wall1, string wall2, string section)
 

Public Attributes

string name
 
string cline1
 
string cline2
 
string floor1
 
string floor2
 
string * sections
 
double * ratios
 
int numSegment
 

Static Public Attributes

static map< string, Wall * > theWalls
 

Detailed Description

Definition at line 10 of file Wall.h.

Constructor & Destructor Documentation

Wall::Wall ( )

Definition at line 29 of file Wall.cpp.

Wall::~Wall ( )

Definition at line 41 of file Wall.cpp.

Member Function Documentation

int Wall::addWall ( string  name,
string  cline1,
string  cline2,
string  wall1,
string  wall2,
string  section 
)
static

Definition at line 223 of file Wall.cpp.

Wall * Wall::getWall ( string  name)
static

Definition at line 199 of file Wall.cpp.

int Wall::readFromJSON ( json_t *  theObject)

Definition at line 50 of file Wall.cpp.

int Wall::readObjects ( json_t *  sectArray,
map< string, Wall * > &  theWalls 
)
static

Definition at line 157 of file Wall.cpp.

int Wall::removeAllWall ( void  )
static

Definition at line 212 of file Wall.cpp.

int Wall::removeWall ( string  name)
static

Definition at line 185 of file Wall.cpp.

int Wall::writeObjects ( json_t *  sectArray)
static

Definition at line 173 of file Wall.cpp.

int Wall::writeToJSON ( json_t *  theArray)

Definition at line 107 of file Wall.cpp.

Member Data Documentation

string Wall::cline1

Definition at line 16 of file Wall.h.

string Wall::cline2

Definition at line 17 of file Wall.h.

string Wall::floor1

Definition at line 18 of file Wall.h.

string Wall::floor2

Definition at line 19 of file Wall.h.

string Wall::name

Definition at line 15 of file Wall.h.

int Wall::numSegment

Definition at line 22 of file Wall.h.

double* Wall::ratios

Definition at line 21 of file Wall.h.

string* Wall::sections

Definition at line 20 of file Wall.h.

map< string, Wall * > Wall::theWalls
static

Definition at line 29 of file Wall.h.


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