CRioMMIndex::FileSection Class Reference

Public Member Functions

 FileSection (const char *, RioBlock)
 ~FileSection (void)
void SetNextFile (FileSection *)
void SetFirstSlide (SlideSection *)
void SetLastSlide (SlideSection *)
const char * GetFileName (void) const
RioBlock GetIndex (void) const
FileSectionGetNextFile (void) const
SlideSectionGetFirstSlide (void) const
SlideSectionGetLastSlide (void) const

Private Attributes

TString filename
RioBlock index
FileSectionnext_file
SlideSectionfirst_slide
SlideSectionlast_slide

Detailed Description

Definition at line 62 of file RioMMIndex.h.


Constructor & Destructor Documentation

CRioMMIndex::FileSection::FileSection ( const char *  fname,
RioBlock  idx 
)

Definition at line 82 of file RioMMIndex.cpp.

00083 {
00084     filename    = fname;
00085     index       = idx;
00086     first_slide = NULL;
00087     last_slide  = NULL;
00088     next_file   = NULL;
00089 }

CRioMMIndex::FileSection::~FileSection ( void   ) 

Definition at line 91 of file RioMMIndex.cpp.

00092 {
00093     if( first_slide )
00094         delete first_slide;
00095     if( next_file )
00096         delete next_file;
00097 }


Member Function Documentation

const char * CRioMMIndex::FileSection::GetFileName ( void   )  const [inline]

Definition at line 114 of file RioMMIndex.cpp.

00115 {
00116     return (const char *)filename;
00117 }

CRioMMIndex::SlideSection * CRioMMIndex::FileSection::GetFirstSlide ( void   )  const [inline]

Definition at line 129 of file RioMMIndex.cpp.

00130 {
00131     return first_slide;
00132 }

RioBlock CRioMMIndex::FileSection::GetIndex ( void   )  const [inline]

Definition at line 119 of file RioMMIndex.cpp.

00120 {
00121     return index;
00122 }

CRioMMIndex::SlideSection * CRioMMIndex::FileSection::GetLastSlide ( void   )  const [inline]

Definition at line 134 of file RioMMIndex.cpp.

00135 {
00136     return last_slide;
00137 }

CRioMMIndex::FileSection * CRioMMIndex::FileSection::GetNextFile ( void   )  const [inline]

Definition at line 124 of file RioMMIndex.cpp.

00125 {
00126     return next_file;
00127 }

void CRioMMIndex::FileSection::SetFirstSlide ( CRioMMIndex::SlideSection first  )  [inline]

Definition at line 104 of file RioMMIndex.cpp.

00105 {
00106     first_slide = first;
00107 }

void CRioMMIndex::FileSection::SetLastSlide ( CRioMMIndex::SlideSection last  )  [inline]

Definition at line 109 of file RioMMIndex.cpp.

00110 {
00111     last_slide = last;
00112 }

void CRioMMIndex::FileSection::SetNextFile ( CRioMMIndex::FileSection next  )  [inline]

Definition at line 99 of file RioMMIndex.cpp.

00100 {
00101     next_file = next;
00102 }


Field Documentation

Definition at line 65 of file RioMMIndex.h.

Definition at line 69 of file RioMMIndex.h.

Definition at line 66 of file RioMMIndex.h.

Definition at line 69 of file RioMMIndex.h.

Definition at line 68 of file RioMMIndex.h.


The documentation for this class was generated from the following files:
Generated on Wed Jul 4 16:03:32 2012 for RIO by  doxygen 1.6.3