Kea  1.9.9-git
isc::dns::rdata::RdataFields::RdataFieldsDetail Struct Reference

This is a helper class for RdataFields. More...

Public Member Functions

 RdataFieldsDetail (const vector< FieldSpec > &fields, const uint8_t *data, size_t data_length)

Public Attributes

const vector< uint8_t > allocated_data_
const vector< FieldSpecallocated_fields_

Detailed Description

This is a helper class for RdataFields.

It manages a local storage for the data when RdataFields is constructed from an Rdata. To minimize construction overhead in the other case, an instance of this class is instantiated only when necessary - we don't need the vectors when only rendering.

Definition at line 39 of file

Constructor & Destructor Documentation

isc::dns::rdata::RdataFields::RdataFieldsDetail::RdataFieldsDetail ( const vector< FieldSpec > &  fields,
const uint8_t *  data,
size_t  data_length 

Definition at line 40 of file

Member Data Documentation

const vector<uint8_t> isc::dns::rdata::RdataFields::RdataFieldsDetail::allocated_data_

Definition at line 46 of file

Referenced by isc::dns::rdata::RdataFields::RdataFields().

const vector<FieldSpec> isc::dns::rdata::RdataFields::RdataFieldsDetail::allocated_fields_

Definition at line 45 of file

The documentation for this struct was generated from the following file: