Skip to main content
Any class holding a typed entity. Inherits from:

Members

Friends

Friend ConstructHelpers::construct_trait

Public functions

Function ~Any

Return type:

Function Any

Parameters:
  • const DataT & value
  • Client const *const client = nullptr
Return type:

Function Any

Parameters:
  • Any const &
Return type:

Function Any

Parameters:
  • Any &&
Return type:

Function operator=

Parameters:
  • Any const &
Return type: Any &

Function operator=

Parameters:
  • Any &&
Return type: Any &

Function wrappedType

Return type: std::string

Function testType

Returns: Indication that the object is of the type of data. Return type: bool

Function get

Returns: specified template type held in the Any object. Exceptions: Return type: DataT

Function getAsInt

Returns: Int held in the Any object. Exceptions: Return type: dp_int

Function getAsString

Returns: String held in the Any object. Exceptions: Return type: std::string

Function getAsDouble

Returns: Double held in the Any object. Exceptions: Return type: double

Function getAsIntVector

Returns: int vector held in the Any object. Exceptions: Return type: DpfVector< int >

Function getAsField

Returns: Field held in the Any object. Exceptions: Return type: Field

Function getAsPropertyField

Returns: PropertyField held in the Any object. Exceptions: Return type: PropertyField

Function getAsScoping

Returns: Scoping held in the Any object. Exceptions: Return type: Scoping

Function getAsFieldsContainer

Returns: FieldsContainer held in the Any object. Exceptions: Return type: FieldsContainer

Function getAsScopingsContainer

Returns: ScopingsContainer held in the Any object. Exceptions: Return type: ScopingsContainer

Function getAsMeshesContainer

Returns: MeshesContainer held in the Any object. Exceptions: Return type: MeshesContainer

Function getAsTimeFreqSupport

Returns: TimeFreqSupport held in the Any object. Exceptions: Return type: TimeFreqSupport

Function getAsMeshedRegion

Returns: MeshedRegion held in the Any object. Exceptions: Return type: MeshedRegion

Function getAsStreams

Returns: Streams held in the Any object. Exceptions: Return type: Streams

Function getAsResultInfo

Returns: ResultInfo held in the Any object. Exceptions: Return type: ResultInfo

Function getAsDataTree

Returns: DataTree held in the Any object. Exceptions: Return type: DataTree

Function getAsWorkflow

Returns: Workflow held in the Any object. Exceptions: Return type: Workflow

Function getAsOperator

Returns: Operator held in the Any object. Exceptions: Return type: Operator

Function getAsCyclicSupport

Returns: CyclicSupport held in the Any object. Exceptions: Return type: CyclicSupport

Function getAsDataSources

Returns: DataSources held in the Any object. Exceptions: Return type: DataSources

Function getAsStringField

Returns: StringField held in the Any object. Exceptions: Return type: StringField

Function getAsGenericDataContainer

Returns: GenericDataContainer held in the Any object. Exceptions: Return type: GenericDataContainer

Function getAsCustomTypeFieldsContainer

Returns: CustomTypeFieldsContainer held in the Any object. Exceptions: Return type: CustomTypeFieldsContainer

Function getAsCustomTypeField

Returns: CustomTypeField held in the Any object. Exceptions: Return type: CustomTypeField

Function getAsLabelSpace

Returns: LabelSpace held in the Any object. Exceptions: Return type: LabelSpace

Function getAsCollection

Returns: AnyCollection held in the Any object. Exceptions: Return type: Collection< DataT >

Function getAsFbsReference

Parameters:
  • opaque::FbsChannel *& client
  • std::string & address
  • opaque::FbsSlice *& req_slice
  • size_t & req_offset
Return type: void

Function deep_copy

Make a deep copy on a given client. Parameters: Return type: Any

Public static functions

Function createFromFbsReference

Parameters:
  • const opaque::FbsChannel * channel
  • std::string const & address
  • const opaque::FbsSlice * req_slice
  • size_t req_offset
  • const ansys::dpf::Client * client = nullptr
Return type: Any

Function retrieveFromServer

Retrieve an existing instance on a server. Parameters:
  • int id: [in] Id of the object on the server’s database.
  • Client const *const client: [in] Client instance designating the IP, port and protocol to use.
Return type: Any

Function emptyAny

Return type: Any