OpenJPH
Open-source implementation of JPEG2000 Part-15
ojph::comment_exchange Class Reference

#include <ojph_params.h>

Public Member Functions

 comment_exchange ()
 
OJPH_EXPORT void set_string (char *str)
 
OJPH_EXPORT void set_data (char *data, ui16 len)
 

Private Attributes

char * data
 
ui16 len
 
ui16 Rcom
 

Friends

class local::codestream
 

Detailed Description

Definition at line 173 of file ojph_params.h.

Constructor & Destructor Documentation

◆ comment_exchange()

ojph::comment_exchange::comment_exchange ( )
inline

Definition at line 177 of file ojph_params.h.

Member Function Documentation

◆ set_data()

void ojph::comment_exchange::set_data ( char *  data,
ui16  len 
)

Definition at line 383 of file ojph_params.cpp.

References data, len, OJPH_ERROR, and Rcom.

◆ set_string()

void ojph::comment_exchange::set_string ( char *  str)

Definition at line 371 of file ojph_params.cpp.

References data, len, OJPH_ERROR, and Rcom.

Referenced by main().

Friends And Related Function Documentation

◆ local::codestream

friend class local::codestream
friend

Definition at line 175 of file ojph_params.h.

Member Data Documentation

◆ data

char* ojph::comment_exchange::data
private

Definition at line 184 of file ojph_params.h.

Referenced by set_data(), set_string(), and ojph::local::codestream::write_headers().

◆ len

ui16 ojph::comment_exchange::len
private

Definition at line 185 of file ojph_params.h.

Referenced by set_data(), set_string(), and ojph::local::codestream::write_headers().

◆ Rcom

ui16 ojph::comment_exchange::Rcom
private

Definition at line 186 of file ojph_params.h.

Referenced by set_data(), and set_string().


The documentation for this class was generated from the following files: