rasdaman complete source
|
#include <rnprotocol.hh>
Public Member Functions | |
RnpFragmentHeader * | getNextFragment () const throw () |
Returns a pointer to the next fragment. More... | |
RnpParameter * | getFirstParameter () 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... | |
The header of fragments. Size is 16. Every fragment has a header like this and a number of parameters
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.
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.