home *** CD-ROM | disk | FTP | other *** search
-
-
-
- iiiiffffllllDDDDaaaattttaaaabbbbaaaasssseeee((((3333)))) IIIImmmmaaaaggggeeee FFFFoooorrrrmmmmaaaatttt LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll iiiiffffllllDDDDaaaattttaaaabbbbaaaasssseeee((((3333))))
-
-
-
- NNNNAAAAMMMMEEEE
- iiiiffffllllDDDDaaaattttaaaabbbbaaaasssseeee - access to image file format database
-
- IIIINNNNHHHHEEEERRRRIIIITTTTSSSS FFFFRRRROOOOMMMM
- This is a base class with no inheritance.
-
-
- HHHHEEEEAAAADDDDEEEERRRR FFFFIIIILLLLEEEE
- #include <il/ilCdefs.h>
-
-
- CCCCLLLLAAAASSSSSSSS DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- iflDatabase is a lightweight version of the iflFormat class, with
- abbreviated functionality. Basically, the information here is what can
- be obtained from variables in the file format database without opening
- the specific DSO. Looking up an object of this class will never cause a
- DSO to be opened. The intended use is by apps who know they only need
- the restricted methods provided here.
-
- Refer to the iflFormat(3) man page for more detail on iflFormat
- functionality.
-
- CCCCLLLLAAAASSSSSSSS MMMMEEEEMMMMBBBBEEEERRRR FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNN SSSSUUUUMMMMMMMMAAAARRRRYYYY
- FFFFoooorrrrmmmmaaaatttt llllooooooookkkkuuuupppp
- static iflDatabase* iflDatabaseFindNext(iflDatabase *obj,
- int* index)
- static iflDatabase* iflDatabaseFindByMagic(iflDatabase *obj,
- int fd)
- static iflDatabase* iflDatabaseFindByFormatName(iflDatabase *obj,
- const char* formatName)
- static iflDatabase* iflDatabaseFindByFileName(iflDatabase *obj,
- const char* fileName,
- int noMatchRule)
-
-
- AAAAttttttttrrrriiiibbbbuuuutttteeee qqqquuuueeeerrrriiiieeeessss
- const char* iflDatabaseGetName(iflDatabase *obj)
- const char* iflDatabaseGetDefaultSuffix(iflDatabase *obj)
- const char* iflDatabaseGetDescription(iflDatabase *obj)
- int iflDatabaseAccessModeIsSupported(iflDatabase *obj,
- int mode)
- const char* iflDatabaseGetDSOName(iflDatabase *obj)
- const char* iflDatabaseGetInstSubSystem(iflDatabase *obj)
-
-
- CCCCoooonnnnvvvveeeerrrrssssiiiioooonnnn ttttoooo iiiiffffllllFFFFoooorrrrmmmmaaaatttt
- iflFormat* iflDatabaseGetFormat(iflDatabase *obj, int openDSOifNecessary)
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- iiiiffffllllDDDDaaaattttaaaabbbbaaaasssseeee((((3333)))) IIIImmmmaaaaggggeeee FFFFoooorrrrmmmmaaaatttt LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll iiiiffffllllDDDDaaaattttaaaabbbbaaaasssseeee((((3333))))
-
-
-
- FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNN DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNNSSSS
- aaaacccccccceeeessssssssMMMMooooddddeeeeIIIIssssSSSSuuuuppppppppoooorrrrtttteeeedddd(((())))
-
- int iflDatabaseAccessModeIsSupported(iflDatabase *obj,
- int mode)
-
-
- This member function tells whether the given access mode (which must
- be one of _O__R_D_O_N_L_Y, _O__W_R_O_N_L_Y, or _O__R_D_W_R) is supported by the
- subclass.
-
- ffffiiiinnnnddddBBBByyyyFFFFiiiilllleeeeNNNNaaaammmmeeee(((())))
-
- static iflDatabase* iflDatabaseFindByFileName(iflDatabase *obj,
- const char* fileName,
- int noMatchRule)
-
-
- This static class member function is used to look up an image file
- format by file name, where the file name is given by the _f_i_l_e_N_a_m_e
- argument. This is accomplished by matching the tail end of _f_i_l_e_N_a_m_e
- against each value of the suffixes variable given for each image
- file format in the FTR database. The _n_o_M_a_t_c_h_R_u_l_e argument can be
- used to limit searching to those formats that have no match rule.
-
- ffffiiiinnnnddddBBBByyyyFFFFoooorrrrmmmmaaaattttNNNNaaaammmmeeee(((())))
-
- static iflDatabase* iflDatabaseFindByFormatName(iflDatabase *obj,
- const char* formatName)
-
-
- This static class member function is used to look up an image file
- format by name, where the name is given by the _f_o_r_m_a_t_N_a_m_e argument.
-
- ffffiiiinnnnddddBBBByyyyMMMMaaaaggggiiiicccc(((())))
-
- static iflDatabase* iflDatabaseFindByMagic(iflDatabase *obj,
- int fd)
-
-
- This static class member function is used to look up an image file
- format by magic number of a given file that is open for reading with
- the file descriptor, _f_d.
-
- ffffiiiinnnnddddNNNNeeeexxxxtttt(((())))
-
- static iflDatabase* iflDatabaseFindNext(iflDatabase *obj,
- int* index)
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-
-
-
- iiiiffffllllDDDDaaaattttaaaabbbbaaaasssseeee((((3333)))) IIIImmmmaaaaggggeeee FFFFoooorrrrmmmmaaaatttt LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll iiiiffffllllDDDDaaaattttaaaabbbbaaaasssseeee((((3333))))
-
-
-
- This static class member function is used to step through the
- (static, lazily created) list of supported file formats.
-
- To start searching initialize the _i_n_d_e_x paramter to zero. It will be
- automatically updated by each call so that successive calls will iterate
- through all available formats. If there are no more formats, the
- function returns NULL.
-
- The following example prints the names of all supported formats:
-
- iflDatabase *db;
- int index = 0;
- while ((db = iflDatabase::findNext(index)) != NULL)
- printf("%s0, db->getName());
-
-
- ggggeeeettttDDDDSSSSOOOONNNNaaaammmmeeee(((())))
-
- const char* iflDatabaseGetDSOName(iflDatabase *obj)
-
-
- This member function returns the 'soname' for the DSO that
- implements this format (used internally to pass to ddddllllooooppppeeeennnn()).
-
- ggggeeeettttDDDDeeeeffffaaaauuuullllttttSSSSuuuuffffffffiiiixxxx(((())))
-
- const char* iflDatabaseGetDefaultSuffix(iflDatabase *obj)
-
-
- This member function returns the default filename suffix (the first
- suffix listed in the "suffixes" declaration for a format in the IFL
- format database). The returned value is a pointer to a static string
- that is valid forever. Note that the returned value may be NULL.
-
- ggggeeeettttDDDDeeeessssccccrrrriiiippppttttiiiioooonnnn(((())))
-
- const char* iflDatabaseGetDescription(iflDatabase *obj)
-
-
- This member function returns the format description, or NULL if
- there is none.
-
- ggggeeeettttFFFFoooorrrrmmmmaaaatttt(((())))
-
- iflFormat* iflDatabaseGetFormat(iflDatabase *obj, int openDSOifNecessary)
-
-
- This method returns the full iflFormat correspnding to this
- iflDatabase object. This may involve some overhead the first time a
- particular format is accessed (opening the DSO and such).
-
-
-
-
-
- PPPPaaaaggggeeee 3333
-
-
-
-
-
-
- iiiiffffllllDDDDaaaattttaaaabbbbaaaasssseeee((((3333)))) IIIImmmmaaaaggggeeee FFFFoooorrrrmmmmaaaatttt LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll iiiiffffllllDDDDaaaattttaaaabbbbaaaasssseeee((((3333))))
-
-
-
- ggggeeeettttIIIInnnnssssttttSSSSuuuubbbbSSSSyyyysssstttteeeemmmm(((())))
-
- const char* iflDatabaseGetInstSubSystem(iflDatabase *obj)
-
-
- This member function returns the inst sub-system that must be
- installed to use this format. This is used internally to format
- error messages.
-
- ggggeeeettttNNNNaaaammmmeeee(((())))
-
- const char* iflDatabaseGetName(iflDatabase *obj)
-
-
- This member function returns the format name, which is a pointer to
- a static string that is valid forever.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- iflFormat
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 4444
-
-
-
-