rasdaman complete source
Public Member Functions | Public Attributes | List of all members
rnp::RnpFragmentHeader Struct Reference

#include <rnprotocol.hh>

Public Member Functions

RnpFragmentHeadergetNextFragment () const throw ()
 Returns a pointer to the next fragment. More...
 
RnpParametergetFirstParameter () const throw ()
 Returns a pointer to the first parameter of this fragment. More...
 
void changeEndianness () throw ()
 

Public Attributes

RnpQuark fragmType
 The type of the fragment. One of Rnp::FragmentType. More...
 
RnpQuark command
 The command. Server dependent. More...
 
RnpQuark nrParams
 Number of parameters. More...
 
RnpQuark totalLength
 Total length of the fragment, this header + all parameters. More...
 

Detailed Description

The header of fragments. Size is 16. Every fragment has a header like this and a number of parameters

Member Function Documentation

void rnp::RnpFragmentHeader::changeEndianness ( )
throw (
)

Changes the endianness of the fragment. Since there is no info about the current endianness, be carefull when you use it

RnpParameter* rnp::RnpFragmentHeader::getFirstParameter ( ) const
throw (
)

Returns a pointer to the first parameter of this fragment.

RnpFragmentHeader* rnp::RnpFragmentHeader::getNextFragment ( ) const
throw (
)

Returns a pointer to the next fragment.

Member Data Documentation

RnpQuark rnp::RnpFragmentHeader::command

The command. Server dependent.

RnpQuark rnp::RnpFragmentHeader::fragmType

The type of the fragment. One of Rnp::FragmentType.

RnpQuark rnp::RnpFragmentHeader::nrParams

Number of parameters.

RnpQuark rnp::RnpFragmentHeader::totalLength

Total length of the fragment, this header + all parameters.


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