Logo Search packages:      
Sourcecode: xchm version File versions

bool CHMFile::IsValidCID ( const int  contextID  ) 

Checks whether or not the context ID is valid for the loaded file.

contextID The context-ID to check.
TRUE if the context ID is valid. FALSE otherwise.

Definition at line 265 of file chmfile.cpp.

Referenced by CHMFrame::LoadContextID().

            return FALSE;
      CHMIDMap::iterator itr = _cidMap.find( contextID );
      if( itr == _cidMap.end() )
            return FALSE;

      return TRUE;

Generated by  Doxygen 1.6.0   Back to index