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 rdatafields.cc.

Constructor & Destructor Documentation

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

Definition at line 40 of file rdatafields.cc.

Member Data Documentation

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

Definition at line 46 of file rdatafields.cc.

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

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

Definition at line 45 of file rdatafields.cc.


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