lux::PhotometricDataIES Class Reference

#include <photometricdata_ies.h>

Collaboration diagram for lux::PhotometricDataIES:
[legend]

List of all members.

Public Types

enum  PhotometricType { PHOTOMETRIC_TYPE_C = 1, PHOTOMETRIC_TYPE_B = 2, PHOTOMETRIC_TYPE_A = 3 }

Public Member Functions

 PhotometricDataIES ()
 PhotometricDataIES (const char *)
 ~PhotometricDataIES ()
bool IsValid ()
void Reset ()
bool Load (const char *)
void ReadLine (std::string &sLine)

Public Attributes

std::string m_Version
std::map< std::string,
std::string > 
m_Keywords
unsigned int m_NumberOfLamps
double m_LumensPerLamp
double m_CandelaMultiplier
unsigned int m_NumberOfVerticalAngles
unsigned int m_NumberOfHorizontalAngles
PhotometricType m_PhotometricType
unsigned int m_UnitsType
double m_LuminaireWidth
double m_LuminaireLength
double m_LuminaireHeight
double BallastFactor
double BallastLampPhotometricFactor
double InputWatts
std::vector< double > m_VerticalAngles
std::vector< double > m_HorizontalAngles
std::vector< std::vector
< double > > 
m_CandelaValues

Private Member Functions

bool PrivateLoad (const char *)
bool BuildKeywordList ()
void BuildDataLine (unsigned int, std::vector< double > &)
bool BuildLightData ()

Private Attributes

bool m_bValid
std::ifstream m_fsIES

Detailed Description

Definition at line 32 of file photometricdata_ies.h.


Member Enumeration Documentation

Enumerator:
PHOTOMETRIC_TYPE_C 
PHOTOMETRIC_TYPE_B 
PHOTOMETRIC_TYPE_A 

Definition at line 61 of file photometricdata_ies.h.


Constructor & Destructor Documentation

lux::PhotometricDataIES::PhotometricDataIES (  ) 

Definition at line 38 of file photometricdata_ies.cpp.

lux::PhotometricDataIES::PhotometricDataIES ( const char *  sFileName  ) 

Definition at line 43 of file photometricdata_ies.cpp.

References Load(), and Reset().

lux::PhotometricDataIES::~PhotometricDataIES (  ) 

Definition at line 50 of file photometricdata_ies.cpp.

References m_fsIES.


Member Function Documentation

void lux::PhotometricDataIES::BuildDataLine ( unsigned int  nDoubles,
std::vector< double > &  vLine 
) [private]

Definition at line 188 of file photometricdata_ies.cpp.

References m_fsIES.

Referenced by BuildLightData().

bool lux::PhotometricDataIES::BuildKeywordList (  )  [private]

Definition at line 122 of file photometricdata_ies.cpp.

References m_fsIES, m_Keywords, and ReadLine().

Referenced by PrivateLoad().

bool lux::PhotometricDataIES::BuildLightData (  )  [private]
bool lux::PhotometricDataIES::IsValid (  )  [inline]

Definition at line 42 of file photometricdata_ies.h.

References m_bValid.

bool lux::PhotometricDataIES::Load ( const char *  sFileName  ) 

Definition at line 76 of file photometricdata_ies.cpp.

References m_fsIES, and PrivateLoad().

Referenced by PhotometricDataIES().

bool lux::PhotometricDataIES::PrivateLoad ( const char *  sFileName  )  [private]

Definition at line 85 of file photometricdata_ies.cpp.

References BuildKeywordList(), BuildLightData(), m_bValid, m_fsIES, m_Version, ReadLine(), and Reset().

Referenced by Load().

void lux::PhotometricDataIES::ReadLine ( std::string &  sLine  )  [inline]

Definition at line 46 of file photometricdata_ies.h.

References m_fsIES.

Referenced by BuildKeywordList(), BuildLightData(), and PrivateLoad().

void lux::PhotometricDataIES::Reset (  ) 

Member Data Documentation

Definition at line 80 of file photometricdata_ies.h.

Referenced by BuildLightData().

Definition at line 94 of file photometricdata_ies.h.

Referenced by IsValid(), PrivateLoad(), and Reset().

std::vector< std::vector<double> > lux::PhotometricDataIES::m_CandelaValues
std::ifstream lux::PhotometricDataIES::m_fsIES [private]
std::map<std::string,std::string> lux::PhotometricDataIES::m_Keywords

Definition at line 56 of file photometricdata_ies.h.

Referenced by BuildKeywordList(), and Reset().

Definition at line 68 of file photometricdata_ies.h.

Referenced by BuildLightData().

Definition at line 76 of file photometricdata_ies.h.

Referenced by BuildLightData().

Definition at line 75 of file photometricdata_ies.h.

Referenced by BuildLightData().

Definition at line 74 of file photometricdata_ies.h.

Referenced by BuildLightData().

Definition at line 71 of file photometricdata_ies.h.

Referenced by BuildLightData().

Definition at line 67 of file photometricdata_ies.h.

Referenced by BuildLightData().

Definition at line 70 of file photometricdata_ies.h.

Referenced by BuildLightData().

Definition at line 73 of file photometricdata_ies.h.

Referenced by BuildLightData().

Definition at line 55 of file photometricdata_ies.h.

Referenced by PrivateLoad(), and Reset().


The documentation for this class was generated from the following files:
Generated by  doxygen 1.6.2-20100208