ndr_format_label


The os_ndr_format_label class defines the data representation format of char , int , and float data types for a particular architecture. The values held are those specified in the NDR specification. On default construction, this label holds the representation of the local machine architecture.

Library

Streaming<ToolKit>

Declaration

#include <ospace/stream/ndrlabel.h>

class os_ndr_format_label;

Interface

Constructor
os_ndr_format_label()
Constructs a label that represents the local data representation.
Constructor
os_ndr_format_label( os_ndr_format_label_t label )
Constructs a label that represents the data representation specified in the NDR format label label .
Constructor
os_ndr_format_label( os_ndr_format_label& label )
Constructs a label with the same value as label .
=
void operator=( const os_ndr_format_label& label )
Assigns label from label .
char_rep
unsigned char char_rep() const
Returns the NDR character representation.
float_rep
unsigned char float_rep() const
Returns the NDR float representation.
format_label
void format_label( os_ndr_format_label_t label )
Sets the label to represent the data representation specified in the NDR format label label .
format_label
/* static */ os_ndr_format_label_t format_label( unsigned char char_rep , unsigned char int_rep , unsigned char float_rep )
Returns an NDR format label constructed of NDR representations char_rep, int_rep , and float_rep . In the default case, returns an NDR format label representing the local type.
int_rep
unsigned char int_rep() const
Returns the NDR integer representation.

Copyright©1994-2026 Recursion Software LLC
All Rights Reserved - For use by licensed users only.