Geant4  v4-10.4-release
 모두 클래스 네임스페이스들 파일들 함수 변수 타입정의 열거형 타입 열거형 멤버 Friends 매크로 그룹들 페이지들
Public 멤버 함수 | 모든 멤버 목록
HEPREP::HepRepAttribute 클래스 참조abstract

#include <HepRepAttribute.h>

HEPREP::HepRepAttribute에 대한 상속 다이어그램 :
cheprep::DefaultHepRepAttribute HEPREP::HepRepDefinition HEPREP::HepRepInstance HEPREP::HepRepPoint cheprep::DefaultHepRepDefinition cheprep::DefaultHepRepInstance cheprep::DefaultHepRepPoint cheprep::DefaultHepRepDefinition HEPREP::HepRepType cheprep::DefaultHepRepInstance cheprep::DefaultHepRepPoint cheprep::DefaultHepRepType cheprep::DefaultHepRepType cheprep::DefaultHepRepType

Public 멤버 함수

virtual ~HepRepAttribute ()
 Destructor. 더 자세히 ...
 
virtual void addAttValue (HepRepAttValue *attValue)=0
 
virtual void addAttValue (std::string key, char *value, int showLabel=HepRepConstants::SHOW_NONE)=0
 
virtual void addAttValue (std::string key, std::string value, int showLabel=HepRepConstants::SHOW_NONE)=0
 
virtual void addAttValue (std::string key, int64 value, int showLabel=HepRepConstants::SHOW_NONE)=0
 
virtual void addAttValue (std::string key, int value, int showLabel=HepRepConstants::SHOW_NONE)=0
 
virtual void addAttValue (std::string key, double value, int showLabel=HepRepConstants::SHOW_NONE)=0
 
virtual void addAttValue (std::string key, bool value, int showLabel=HepRepConstants::SHOW_NONE)=0
 
virtual void addAttValue (std::string key, std::vector< double > value, int showLabel=HepRepConstants::SHOW_NONE)=0
 
virtual void addAttValue (std::string key, double red, double green, double blue, double alpha=1.0, int showLabel=HepRepConstants::SHOW_NONE)=0
 
virtual HepRepAttValueremoveAttValue (std::string key)=0
 
virtual HepRepAttValuegetAttValue (std::string name)=0
 
virtual std::set
< HepRepAttValue * > 
getAttValuesFromNode ()=0
 
virtual HepRepAttValuegetAttValueFromNode (std::string lowerCaseName)=0
 

상세한 설명

HepRepAttribute interface.

작성자
Mark Donszelmann

HepRepAttribute.h 파일의 29 번째 라인에서 정의되었습니다.

생성자 & 소멸자 문서화

virtual HEPREP::HepRepAttribute::~HepRepAttribute ( )
inlinevirtual

Destructor.

HepRepAttribute.h 파일의 33 번째 라인에서 정의되었습니다.

멤버 함수 문서화

virtual void HEPREP::HepRepAttribute::addAttValue ( HepRepAttValue attValue)
pure virtual
virtual void HEPREP::HepRepAttribute::addAttValue ( std::string  key,
char *  value,
int  showLabel = HepRepConstants::SHOW_NONE 
)
pure virtual

Adds a char* attValue as a String. This call should be mapped to addAttValue(std::string, std::string, int); and necessary because C++ converts char* into bool and would thus call addAttValue(std::string, bool, int) for a call such as addAttValue("drawAs", "Cylinder", 0);

매개변수
keyname of attValue
valuevalue of attValue
showLabelshow this as label

cheprep::DefaultHepRepAttribute에서 구현되었습니다.

virtual void HEPREP::HepRepAttribute::addAttValue ( std::string  key,
std::string  value,
int  showLabel = HepRepConstants::SHOW_NONE 
)
pure virtual

Adds an attValue.

매개변수
keyname of attValue
valuevalue of attValue
showLabelshow this as label

cheprep::DefaultHepRepAttribute에서 구현되었습니다.

virtual void HEPREP::HepRepAttribute::addAttValue ( std::string  key,
int64  value,
int  showLabel = HepRepConstants::SHOW_NONE 
)
pure virtual

Adds an attValue.

매개변수
keyname of attValue
valuevalue of attValue
showLabelshow this as label

cheprep::DefaultHepRepAttribute에서 구현되었습니다.

virtual void HEPREP::HepRepAttribute::addAttValue ( std::string  key,
int  value,
int  showLabel = HepRepConstants::SHOW_NONE 
)
pure virtual

Adds an attValue.

매개변수
keyname of attValue
valuevalue of attValue
showLabelshow this as label

cheprep::DefaultHepRepAttribute에서 구현되었습니다.

virtual void HEPREP::HepRepAttribute::addAttValue ( std::string  key,
double  value,
int  showLabel = HepRepConstants::SHOW_NONE 
)
pure virtual

Adds an attValue.

매개변수
keyname of attValue
valuevalue of attValue
showLabelshow this as label

cheprep::DefaultHepRepAttribute에서 구현되었습니다.

virtual void HEPREP::HepRepAttribute::addAttValue ( std::string  key,
bool  value,
int  showLabel = HepRepConstants::SHOW_NONE 
)
pure virtual

Adds an attValue.

매개변수
keyname of attValue
valuevalue of attValue
showLabelshow this as label

cheprep::DefaultHepRepAttribute에서 구현되었습니다.

virtual void HEPREP::HepRepAttribute::addAttValue ( std::string  key,
std::vector< double >  value,
int  showLabel = HepRepConstants::SHOW_NONE 
)
pure virtual

Adds a Color attValue.

매개변수
keyname of attValue
valuevalue of attValue
showLabelshow this as label

cheprep::DefaultHepRepAttribute에서 구현되었습니다.

virtual void HEPREP::HepRepAttribute::addAttValue ( std::string  key,
double  red,
double  green,
double  blue,
double  alpha = 1.0,
int  showLabel = HepRepConstants::SHOW_NONE 
)
pure virtual

Adds a Color attValue.

매개변수
keyname of attValue
redcolor
greencolor
bluecolor
alphavalue
showLabelshow this as label

cheprep::DefaultHepRepAttribute에서 구현되었습니다.

virtual HepRepAttValue* HEPREP::HepRepAttribute::getAttValue ( std::string  name)
pure virtual

Returns the attValue specified by name. This attValue is normally searched on the node itself and then on its type, moving up the typetree.

매개변수
nameof attribute value.
반환값
attribute value.

cheprep::DefaultHepRepInstance, cheprep::DefaultHepRepAttribute, cheprep::DefaultHepRepType, cheprep::DefaultHepRepDefinition, cheprep::DefaultHepRepPoint에서 구현되었습니다.

다음에 의해서 참조됨 : cheprep::DefaultHepRepPoint::getAttValue(), cheprep::DefaultHepRepInstance::getAttValue(), G4HepRepSceneHandler::setAttribute().

virtual HepRepAttValue* HEPREP::HepRepAttribute::getAttValueFromNode ( std::string  lowerCaseName)
pure virtual

Returns a named attribute value from this node.

매개변수
lowerCaseNamename in all lowercase.
반환값
corresponding HepRepAttValue.

cheprep::DefaultHepRepAttribute에서 구현되었습니다.

다음에 의해서 참조됨 : cheprep::DefaultHepRepType::getAttValue(), G4HepRepSceneHandler::setAttribute(), cheprep::XMLHepRepWriter::write().

virtual std::set<HepRepAttValue *> HEPREP::HepRepAttribute::getAttValuesFromNode ( )
pure virtual

Returns a collection of all attribute values from this node.

반환값
collection of HepRepAttValues.

cheprep::DefaultHepRepAttribute에서 구현되었습니다.

다음에 의해서 참조됨 : cheprep::XMLHepRepWriter::write().

virtual HepRepAttValue* HEPREP::HepRepAttribute::removeAttValue ( std::string  key)
pure virtual

Remove the attvalue named by key.

매개변수
keyname of the attValue to be removed.
반환값
removed HepRepAttValue, or null if not removed.

cheprep::DefaultHepRepAttribute에서 구현되었습니다.


이 클래스에 대한 문서화 페이지는 다음의 파일로부터 생성되었습니다.: