Skip to main content
Container of files on which the analysis results can be found. Inherits from:

Members

Friends

Public functions

Function DataSources

Return type:

Function DataSources

Create a file container on a server. Parameters:
  • Client const *const client: [in] Client instance designating the IP, port and protocol to use.
Return type:

Function ~DataSources

Return type:

Function DataSources

Parameters:
  • DataSources const &
Return type:

Function DataSources

Parameters:
  • DataSources &&
Return type:

Function DataSources

Create a file container with given file and key. Parameters:
  • std::string const & result_file_path: [in] Result file with which to create data source container.
  • std::string const & key: [in] Key describing type of file.
Return type:

Function DataSources

Create a file container with given file and key. Parameters:
  • std::string const & result_file_path: [in] Result file with which to create data source container.
  • std::string const & key: [in] Key describing type of file.
  • Client const *const client: [in] Client instance designating the IP, port and protocol to use.
Return type:

Function DataSources

Create a file container with given file. Parameters:
  • std::string const & result_file_path: [in] Result file with which to create data source container.
Return type:

Function DataSources

Create a file container with given file on a server. Parameters:
  • std::string const & result_file_path: [in] Result file with which to create data source container.
  • Client const *const client
Return type:

Function DataSources

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

Function operator=

Parameters:
  • DataSources const &
Return type: DataSources &

Function operator=

Parameters:
  • DataSources &&
Return type: DataSources &

Function addResultFile

Define result file with key for data sources. Parameters:
  • std::string const & file_path: [in] Result file to use with data source container.
  • std::string const & key: [in] Key describing type of file.
Return type: void

Function addResultFileWString

Define result for data sources. Parameters:
  • std::wstring const & file_path: [in] Result file to use with data source container.
Return type: void

Function addResultFile

Define result for data sources. Parameters:
  • std::string const & file_path: [in] Result file to use with data source container.
Return type: void

Function addDomainResultFile

Define data source result file with key and domain. Parameters:
  • std::string const & file_path: [in] Result file to use with data source container.
  • std::string const & key: [in] Key describing type of file.
  • dp_int domain_id: [in] Domain id of file.
Return type: void

Function addFile

Add secondary, non-result, file with key to data sources. Parameters:
  • std::string const & file_path: [in] File to use with data source container.
  • std::string const & key: [in] Key describing type of file.
Return type: void

Function addFile

Add secondary, non-result, file to data sources. Parameters:
  • std::string const & file_path: [in] File to use with data source container.
Return type: void

Function addFile

Add secondary, non-result, file with key and result key to data sources. Parameters:
  • std::string const & file_path: [in] File to use with data source container.
  • std::string const & key: [in] Key describing type of file.
  • std::string const & result_key: [in] Result key for file.
Return type: void

Function addDomainFile

Add domain file with key and domain id to data sources. Parameters:
  • std::string const & file_path: [in] File to use with data source container.
  • std::string const & key: [in] Key describing type of file.
  • dp_int domain_id: [in] Domain id of file.
Return type: void

Function addUpStream

Add up stream to data sources. Parameters:
  • DataSources & ds: [in] Upstream data sources.
Return type: void

Function addUpStream

Add up stream with result key to data sources. Parameters:
  • DataSources & ds: [in] Upstream data sources.
  • std::string const & result_key: [in] Result key for upstream source.
Return type: void

Function resultKey

Returns: Result key of data sources. Return type: std::string

Function resultNamespaceForKey

Returns: Result namespace to a given key of data sources. Parameters:
  • std::string const & key
Return type: std::string

Function filePaths

Returns: Vector of secondary files given by key. Parameters:
  • std::string const & key: [in] Key describing file type.
Return type: std::vector< std::string >

Function resultFilePaths

Returns: Vector of result files in data sources. Return type: std::vector< std::string >

Function keys

Returns: Vector of keys in data sources. Return type: std::vector< std::string >

Function numPaths

Returns: Size or Num file path in data sources. Return type: int

Function pathAtKeyByIndex

Returns: Path at given key and given index in data sources. Parameters:
  • std::string const & key
  • dp_index index
Return type: std::string

Function pathAndKeyByIndex

Returns: File path and its key for a given index in data sources. Parameters:
  • int index
Return type: std::pair< std::string, std::string >

Function identifierbyIndex

Returns: LabelSpace or identifier of a path for a given index in data sources. Parameters:
  • int index
Return type: LabelSpace

Function deep_copy

Create a new DataSources on a server by copying all the data of this DataSources. Parameters: Return type: DataSources

Function getHashableKey

Set and get an simpler hashable entity (here a file path) instead of the full DataSources to save time Return type: std::string

Function setHashableKey

Parameters:
  • const std::string & unique_identifier
Return type: void

Function getHash

Compute and get the hash of a data_sources Return type: size_t

Function registerNamespace

Parameters:
  • std::string const & result_key
  • std::string const & namspace
Return type: void

Public static functions

Function emptyDataSources

Create an empty data sources. Returns: Empty DataSources. Return type: DataSources