libptpmgmt  1.4
libptpmgmt library that provides the functionality of linuxptp pmc
Public Member Functions | Public Attributes | List of all members
PTPText_t Struct Reference

#include <types.h>

Public Member Functions

size_t size () const
 
const char * string () const
 

Public Attributes

uint8_t lengthField
 
std::string textField
 

Detailed Description

PTP text value

Member Function Documentation

◆ size()

size_t PTPText_t::size ( ) const
inline

Get object size

Returns
object size

◆ string()

const char* PTPText_t::string ( ) const
inline

Get string

Returns
pointer to string

Member Data Documentation

◆ lengthField

uint8_t PTPText_t::lengthField

string length

Note
User can ignore the parameter. The user should use the length of textField. The parameter is used during process.

◆ textField

std::string PTPText_t::textField

string value


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