Struct Ifc4x2::IfcFlowDirectionEnum

Nested Relationships

This struct is a nested type of Struct Ifc4x2.

Struct Documentation

struct Ifc4x2::IfcFlowDirectionEnum

Public Types

enum Value

This enumeration defines the flow direction at a port as either a SOURCE, SINK, or SOURCEANDSINK. For solids, liquids, or gas, the direction is the physical flow direction. For electric power (circuits containing hot, neutral, ground), the direction is from the origination of power (from a distribution board to protective devices to switches to fixtures). For communication signals, the direction originates from where the signal is shaped, such as a sensor. For communicaton networks, the direction originates from the up-level network host, such as a router (having SOURCE ports) hosting multiple computers (having SINK ports).

SOURCE: A flow source, where a substance flows out of the connection. SINK: A flow sink, where a substance flows into the connection. SOURCEANDSINK: Both a source and sink, where a substance flows both into and out of the connection simultaneously. NOTDEFINED: Undefined flow direction.

HISTORY: New enumeration in IFC R2.0

Values:

enumerator IfcFlowDirection_SOURCE
enumerator IfcFlowDirection_SINK
enumerator IfcFlowDirection_SOURCEANDSINK
enumerator IfcFlowDirection_NOTDEFINED

Public Static Functions

IFC_PARSE_API const char *ToString(Value v)
IFC_PARSE_API Value FromString(const std::string &s)