// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #ifndef _IGESAppli_PipingFlow_HeaderFile #define _IGESAppli_PipingFlow_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_IGESAppli_PipingFlow_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif #ifndef _Handle_IGESData_HArray1OfIGESEntity_HeaderFile #include #endif #ifndef _Handle_IGESDraw_HArray1OfConnectPoint_HeaderFile #include #endif #ifndef _Handle_Interface_HArray1OfHAsciiString_HeaderFile #include #endif #ifndef _Handle_IGESGraph_HArray1OfTextDisplayTemplate_HeaderFile #include #endif #ifndef _IGESData_IGESEntity_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _Handle_IGESData_IGESEntity_HeaderFile #include #endif #ifndef _Handle_IGESDraw_ConnectPoint_HeaderFile #include #endif #ifndef _Handle_TCollection_HAsciiString_HeaderFile #include #endif #ifndef _Handle_IGESGraph_TextDisplayTemplate_HeaderFile #include #endif class IGESData_HArray1OfIGESEntity; class IGESDraw_HArray1OfConnectPoint; class Interface_HArray1OfHAsciiString; class IGESGraph_HArray1OfTextDisplayTemplate; class Standard_OutOfRange; class IGESData_IGESEntity; class IGESDraw_ConnectPoint; class TCollection_HAsciiString; class IGESGraph_TextDisplayTemplate; //! defines PipingFlow, Type <402> Form <20>
//! in package IGESAppli
//! Represents a single fluid flow path
class IGESAppli_PipingFlow : public IGESData_IGESEntity { public: Standard_EXPORT IGESAppli_PipingFlow(); //! This method is used to set the fields of the class
//! PipingFlow
//! - nbContextFlags : Count of Context Flags, always = 1
//! - aFlowType : Type of Flow, default = 0
//! - allFlowAssocs : PipingFlow Associativity Entities
//! - allConnectPoints : Connect Point Entities
//! - allJoins : Join Entities
//! - allFlowNames : PipingFlow Names
//! - allTextDispTs : Text Display Template Entities
//! - allContFlowAssocs : Continuation Flow Associativity Entities
Standard_EXPORT void Init(const Standard_Integer nbContextFlags,const Standard_Integer aFlowType,const Handle(IGESData_HArray1OfIGESEntity)& allFlowAssocs,const Handle(IGESDraw_HArray1OfConnectPoint)& allConnectPoints,const Handle(IGESData_HArray1OfIGESEntity)& allJoins,const Handle(Interface_HArray1OfHAsciiString)& allFlowNames,const Handle(IGESGraph_HArray1OfTextDisplayTemplate)& allTextDisps,const Handle(IGESData_HArray1OfIGESEntity)& allContFlowAssocs) ; //! forces NbContextFalgs to 1, returns True if changed
Standard_EXPORT Standard_Boolean OwnCorrect() ; //! returns number of Count of Context Flags, always = 1
Standard_EXPORT Standard_Integer NbContextFlags() const; //! returns number of Piping Flow Associativity Entities
Standard_EXPORT Standard_Integer NbFlowAssociativities() const; //! returns number of Connect Point Entities
Standard_EXPORT Standard_Integer NbConnectPoints() const; //! returns number of Join Entities
Standard_EXPORT Standard_Integer NbJoins() const; //! returns number of Flow Names
Standard_EXPORT Standard_Integer NbFlowNames() const; //! returns number of Text Display Template Entities
Standard_EXPORT Standard_Integer NbTextDisplayTemplates() const; //! returns number of Continuation Piping Flow Associativities
Standard_EXPORT Standard_Integer NbContFlowAssociativities() const; //! returns Type of Flow = 0 : Not specified,
//! 1 : Logical,
//! 2 : Physical
Standard_EXPORT Standard_Integer TypeOfFlow() const; //! returns Piping Flow Associativity Entity
//! raises exception if Index <= 0 or Index > NbFlowAssociativities()
Standard_EXPORT Handle_IGESData_IGESEntity FlowAssociativity(const Standard_Integer Index) const; //! returns Connect Point Entity
//! raises exception if Index <= 0 or Index > NbConnectPoints()
Standard_EXPORT Handle_IGESDraw_ConnectPoint ConnectPoint(const Standard_Integer Index) const; //! returns Join Entity
//! raises exception if Index <= 0 or Index > NbJoins()
Standard_EXPORT Handle_IGESData_IGESEntity Join(const Standard_Integer Index) const; //! returns Flow Name
//! raises exception if Index <= 0 or Index > NbFlowNames()
Standard_EXPORT Handle_TCollection_HAsciiString FlowName(const Standard_Integer Index) const; //! returns Text Display Template Entity
//! raises exception if Index <= 0 or Index > NbTextDisplayTemplates()
Standard_EXPORT Handle_IGESGraph_TextDisplayTemplate TextDisplayTemplate(const Standard_Integer Index) const; //! returns Continuation Piping Flow Associativity Entity
//! raises exception if Index <= 0 or Index > NbContFlowAssociativities()
Standard_EXPORT Handle_IGESData_IGESEntity ContFlowAssociativity(const Standard_Integer Index) const; DEFINE_STANDARD_RTTI(IGESAppli_PipingFlow) protected: private: Standard_Integer theNbContextFlags; Standard_Integer theTypeOfFlow; Handle_IGESData_HArray1OfIGESEntity theFlowAssociativities; Handle_IGESDraw_HArray1OfConnectPoint theConnectPoints; Handle_IGESData_HArray1OfIGESEntity theJoins; Handle_Interface_HArray1OfHAsciiString theFlowNames; Handle_IGESGraph_HArray1OfTextDisplayTemplate theTextDisplayTemplates; Handle_IGESData_HArray1OfIGESEntity theContFlowAssociativities; }; // other Inline functions and methods (like "C++: function call" methods) #endif