Skip to main content
Holds string data describing a Property located on given entities (the StringField’s data is bounded with its scoping). Is the equivalent of the Field but with string values data (and not double values). Inherits from:

Members

Friends

Public static functions

Function emptyStringField

Return type: StringField

Public functions

Function ~StringField

Return type:

Function StringField

Create an empty property field with a client. Parameters:
  • Client const *const client: [in] Client to create the property field on.
  • dp_int number_of_entities = 0 : [in] Number of entities reserved.
  • dp_int data_size = 0 : [in] Reserved size of data.
Return type:

Function StringField

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

Function StringField

Create a property with number of entities and data size. Parameters:
  • dp_int number_of_entities = 0 : [in] Number of entities reserved.
  • dp_int data_size = 0 : [in] Reserved size of data.
Return type:

Function StringField

Parameters:
  • StringField const &
Return type:

Function StringField

Parameters:
  • StringField &&
Return type:

Function operator=

Parameters:
  • StringField const &
Return type: StringField &

Function operator=

Parameters:
  • StringField &&
Return type: StringField &

Function location

Returns: Location of the property. Return type: Location

Function scoping

Returns: Scoping of the property. Return type: Scoping

Function dataSize

Returns: Size of the data container. Return type: dp_int

Function push_back

Push back the entity data. Parameters:
  • dp_id entity_id: [in] Id of entity for which to push data.
  • std::vector< std::string > const & values: [in] Vector of data for entity.
Return type: void

Function push_back

Push back the entity data. Parameters:
  • dp_id entity_id: [in] Id of entity for which to push data.
  • const std::string * values: [in] Vector of data for entity.
  • dp_index size: [in] Number of entities.
Return type: void

Function setData

Set the data of the property field. Parameters:
  • std::vector< std::string > const & data: [in] Vector of data.
Return type: void

Function setScoping

Set the scoping of the property field. Parameters: Return type: void

Function data

Returns: DpfVector of data array. Return type: DpfVector< std::string >

Function getData

Get all data for property entities. Parameters:
  • std::vector< std::string > & values_to_fill: [out] Property entity data.
Return type: void

Function entityData

Returns: DpfVector of data array of an entity, by index. Parameters:
  • dp_index entity_index: [in] Index of entity for which to get data.
  • DpfVector< std::string > & data: [out] Pointer to the data.
Return type: void

Function entityDataById

Returns: DpfVector of data array of an entity, by id. Parameters:
  • dp_id entity_id: [in] Id of entity for which to get data.
  • DpfVector< std::string > & data: [out] Pointer to the data.
Return type: void

Function reserve

Reserve the Field. Only implemented for in process udage. To reserve the size for gRPC usage, use the constructor. Parameters:
  • dp_int number_of_entities: [in] Number of entities.
  • dp_int overall_size = 0 : [in] Total size of entity data.
Return type: void

Function resize

Reserve the Field. Parameters:
  • dp_int number_of_entities: [in] Number of entities.
  • dp_int overall_size: [in] Total size of entity data.
Return type: void