Skip to main content
Represents a modifiable vector of data and manages its memory. If the DpfVector is returned by a local entity, then it’s a direct pointer to its data else if the DpfVector is returned by a remote entity, then it’s a copy of the data and the remote data is updated (if necessary) when the DpfVector is destructed. Template parameters:
  • typename T

Inner classes

Members

Friends

Public functions

Function DpfVector

Return type:

Function DpfVector

Parameters:
  • Client const *const for_object
Return type:

Function DpfVector

Parameters: Return type:

Function DpfVector

Creates a vector from a range of an other vector (range from begin to end). Copyless constructor: the new vector is created with a reference on the same data as begin and end: modifying the new vector data, will also modify the initial vector. Parameters:
  • iterator const & begin
  • iterator const & end
Return type:

Function ~DpfVector

Return type:

Function DpfVector

Parameters:
  • rhsDpfVector const &
Return type:

Function DpfVector

Parameters:
  • rhsDpfVector &&
Return type:

Function operator=

Parameters:
  • rhsDpfVector const &
Return type: DpfVector &

Function operator=

Parameters:
  • rhsDpfVector &&
Return type: DpfVector &

Function operator[]

Parameters: Return type: T &

Function operator[]

Parameters: Return type: T

Function data

Return type: T const *const

Function data

Return type: T *const

Function size

Return the size of the data contained in the DpfVector object. Return type: dp_int

Function defined

Return an true information if the DpfVector object has data set. Return type: bool

Function commit

Update the data in the object (if the vector is pointing on remote data). Return type: void

Function copy

Parameters:
  • std::vector< T > & to_fill
Return type: void

Function copy

Return type: std::vector< T >

Function begin

Return type: iterator

Function end

Return type: iterator

Function reset

Reinitialize the data with a range of an other vector (range from begin to end). Copyless: the new data is created with a reference on the same data as begin and end: modifying the new vector data, will also modify the initial vector. Parameters:
  • iterator const & begin
  • iterator const & end
Return type: void