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

#include <HepRepType.h>

HEPREP::HepRepType에 대한 상속 다이어그램 :
HEPREP::HepRepDefinition HEPREP::HepRepAttribute cheprep::DefaultHepRepType

Public 멤버 함수

virtual ~HepRepType ()
 Destructor. 더 자세히 ...
 
virtual void addType (HepRepType *type)=0
 
virtual std::string getName ()=0
 
virtual std::string getFullName ()=0
 
virtual std::string getDescription ()=0
 
virtual void setDescription (std::string description)=0
 
virtual std::string getInfoURL ()=0
 
virtual void setInfoURL (std::string infoURL)=0
 
virtual HepRepTypegetSuperType ()=0
 
virtual std::vector< HepRepType * > getTypeList ()=0
 
virtual HepRepTypecopy (HepRepType *parent)=0
 
virtual void addAttDef (std::string name, std::string desc, std::string category, std::string extra)=0
 
virtual void addAttDef (HepRepAttDef *attDef)=0
 
virtual HepRepAttDefgetAttDef (std::string name)=0
 
virtual std::set< HepRepAttDef * > getAttDefsFromNode ()=0
 
virtual HepRepAttDefgetAttDefFromNode (std::string lowerCaseName)=0
 
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
 

상세한 설명

HepRepType interface.

작성자
Mark Donszelmann

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

생성자 & 소멸자 문서화

virtual HEPREP::HepRepType::~HepRepType ( )
inlinevirtual

Destructor.

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

멤버 함수 문서화

virtual void HEPREP::HepRepDefinition::addAttDef ( std::string  name,
std::string  desc,
std::string  category,
std::string  extra 
)
pure virtualinherited

Adds an attdef.

매개변수
namename of the definition.
descdescription of the definition.
categorycategory of the definition.
extraextra info of the definition.

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

다음에 의해서 참조됨 : G4HepRepSceneHandler::addAttDefs(), G4HepRepSceneHandler::addTopLevelAttributes(), G4HepRepSceneHandler::getGeometryRootType().

virtual void HEPREP::HepRepDefinition::addAttDef ( HepRepAttDef attDef)
pure virtualinherited

Adds an attdef.

매개변수
attDefto be added.

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

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

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 virtualinherited

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 virtualinherited

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 virtualinherited

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 virtualinherited

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 virtualinherited

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 virtualinherited

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 virtualinherited

Adds a Color attValue.

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

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

virtual void HEPREP::HepRepType::addType ( HepRepType type)
pure virtual

Adds a sub-type to this type.

매개변수
typesub-type to be added.

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

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

virtual HepRepType* HEPREP::HepRepType::copy ( HepRepType parent)
pure virtual

Returns a deep copy of this type.

매개변수
parentto which this copy is added.
반환값
copy of this type.

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

virtual HepRepAttDef* HEPREP::HepRepDefinition::getAttDef ( std::string  name)
pure virtualinherited

Return a named attribute definition searched on this node and any parent nodes.

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

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

virtual HepRepAttDef* HEPREP::HepRepDefinition::getAttDefFromNode ( std::string  lowerCaseName)
pure virtualinherited

Returns a named attribute definition defined on this node.

매개변수
lowerCaseNamename of the attribute in lower case.
반환값
attribute definition.

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

다음에 의해서 참조됨 : cheprep::DefaultHepRepType::getAttDef().

virtual std::set<HepRepAttDef *> HEPREP::HepRepDefinition::getAttDefsFromNode ( )
pure virtualinherited

Returns a collection of all attribute definitions defined on this node.

반환값
collection of attributes definitions.

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

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

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

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 virtualinherited

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 virtualinherited

Returns a collection of all attribute values from this node.

반환값
collection of HepRepAttValues.

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

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

virtual std::string HEPREP::HepRepType::getDescription ( )
pure virtual

Returns the description of this type.

반환값
description of type.

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

virtual std::string HEPREP::HepRepType::getFullName ( )
pure virtual

Returns the full name of this type. The full name is constructed from the root of the typeTree (without the typeTreeName) by concatenating all the node names separated by slashes "/". For example: Geometry/InnerDetector/Sector24/Wire20

반환값
full name of type.
참고
getName()

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

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

virtual std::string HEPREP::HepRepType::getInfoURL ( )
pure virtual

Returns the information URL of this type.

반환값
info URL of type.

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

virtual std::string HEPREP::HepRepType::getName ( )
pure virtual

Returns the name of this type. This is the full name if one uses flat-types, and the node name if one uses hierarchical typenames. It is the name supplied at construction of the type.

반환값
name of type.
참고
getFullName()

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

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

virtual HepRepType* HEPREP::HepRepType::getSuperType ( )
pure virtual

Returns the parent of this type.

반환값
parent of type, or null if top-level.

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

다음에 의해서 참조됨 : cheprep::DefaultHepRepType::getAttDef(), cheprep::DefaultHepRepType::getAttValue().

virtual std::vector<HepRepType *> HEPREP::HepRepType::getTypeList ( )
pure virtual

Returns a collection of all the sub-types of this type.

반환값
collection of HepRepTypes.

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

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

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

Remove the attvalue named by key.

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

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

virtual void HEPREP::HepRepType::setDescription ( std::string  description)
pure virtual

Sets the description of this type.

매개변수
infoURL

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

virtual void HEPREP::HepRepType::setInfoURL ( std::string  infoURL)
pure virtual

Sets the information URL of this type.

매개변수
infoURL

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


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