Changeset 1459 for trunk/include/napi.h


Ignore:
Timestamp:
06/05/10 18:32:30 (2 years ago)
Author:
Freddie Akeroyd
Message:

Re-order doxygen function grouping refs #220

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/napi.h

    r1449 r1459  
    3333 * \defgroup c_init General Initialisation and shutdown 
    3434 * \ingroup c_main 
    35  * \defgroup c_readwrite Reading and Writing 
     35 * \defgroup c_group Reading and Writing Groups 
     36 * \ingroup c_main 
     37 * \defgroup c_readwrite Reading and Writing Data 
     38 * \ingroup c_main 
     39 * \defgroup c_navigate General File navigation 
    3640 * \ingroup c_main 
    3741 * \defgroup c_metadata Meta data routines 
    3842 * \ingroup c_main 
    39  * \defgroup c_linking Linking and Group hierarchy 
     43 * \defgroup c_linking Linking  
    4044 * \ingroup c_main 
    4145 * \defgroup c_memory Memory allocation 
     
    4347 * \defgroup c_external External linking 
    4448 * \ingroup c_main 
    45  * \defgroup cpp_main C++ API 
    4649 */ 
    4750   
     
    298301   * \param NXclass the class name of the group. Should start with the prefix NX 
    299302   * \return NX_OK on success, NX_ERROR in the case of an error.    
    300    * \ingroup c_init 
     303   * \ingroup c_group 
    301304   */ 
    302305extern  NXstatus  NXmakegroup (NXhandle handle, CONSTCHAR *name, CONSTCHAR* NXclass); 
     
    308311   * \param NXclass the class name of the group. Should start with the prefix NX 
    309312   * \return NX_OK on success, NX_ERROR in the case of an error.    
    310    * \ingroup c_init 
     313   * \ingroup c_group 
    311314   */ 
    312315extern  NXstatus  NXopengroup (NXhandle handle, CONSTCHAR *name, CONSTCHAR* NXclass); 
     
    319322   * Example: /entry1/sample/name  
    320323   * \return NX_OK on success, NX_ERROR in the case of an error.    
    321    * \ingroup c_init 
     324   * \ingroup c_navigation  
    322325   */ 
    323326extern  NXstatus  NXopenpath (NXhandle handle, CONSTCHAR *path); 
     
    330333   * Example: /entry1/sample/name  
    331334   * \return NX_OK on success, NX_ERROR in the case of an error.    
    332    * \ingroup c_readwrite 
     335   * \ingroup c_navigation  
    333336   */ 
    334337extern  NXstatus  NXopengrouppath (NXhandle handle, CONSTCHAR *path); 
     338 
    335339  /** 
    336340   * Retrieve the current path in the NeXus file 
    337341   * \param handle a NeXus file handle 
    338342   * \param path A buffer to copy the path too 
    339    * \parm  pathlen The maximum number of characters to copy into path 
     343   * \param  pathlen The maximum number of characters to copy into path 
    340344   * \return NX_OK or NX_ERROR 
     345   * \ingroup c_navigation 
    341346   */ 
    342347extern NXstatus NXgetpath(NXhandle handle, char *path, int pathlen); 
     
    346351   * hierarchy. 
    347352   * \return NX_OK on success, NX_ERROR in the case of an error.    
    348    * \ingroup c_init 
     353   * \ingroup c_group  
    349354   */ 
    350355extern  NXstatus  NXclosegroup(NXhandle handle); 
     
    359364   * can be NX_UNLIMITED. Data can be appended to such a dimension using NXputslab.  
    360365   * \return NX_OK on success, NX_ERROR in the case of an error.    
    361    * \ingroup c_init 
     366   * \ingroup c_readwrite 
    362367   */ 
    363368extern  NXstatus  NXmakedata (NXhandle handle, CONSTCHAR* label, int datatype, int rank, int dim[]); 
     
    381386   * should be the same as the data dimension. If you write it in slabs, this is your preferred slab size.  
    382387   * \return NX_OK on success, NX_ERROR in the case of an error.    
    383    * \ingroup c_init 
     388   * \ingroup c_readwrite 
    384389   */ 
    385390extern  NXstatus  NXcompmakedata (NXhandle handle, CONSTCHAR* label, int datatype, int rank, int dim[], int comp_typ, int bufsize[]); 
     
    394399   * \li NX_COMP_RLE run length encoding (only HDF-4) 
    395400   * \li NX_COMP_HUF Huffmann encoding (only HDF-4) 
    396    * \ingroup c_init 
     401   * \ingroup c_readwrite 
    397402   */ 
    398403extern  NXstatus  NXcompress (NXhandle handle, int compr_type); 
     
    404409   * \param label The name of the dataset 
    405410   * \return NX_OK on success, NX_ERROR in the case of an error.    
    406    * \ingroup c_init 
     411   * \ingroup c_readwrite  
    407412   */ 
    408413extern  NXstatus  NXopendata (NXhandle handle, CONSTCHAR* label); 
     
    412417   * \param handle A NeXus file handle as initialized by NXopen.  
    413418   * \return NX_OK on success, NX_ERROR in the case of an error.    
    414    * \ingroup c_readwrite 
     419   * \ingroup c_readwrite  
    415420   */ 
    416421extern  NXstatus  NXclosedata(NXhandle handle); 
     
    423428   * \param data Pointer to data to write. 
    424429   * \return NX_OK on success, NX_ERROR in the case of an error.    
    425    * \ingroup c_init 
     430   * \ingroup c_readwrite 
    426431   */ 
    427432extern  NXstatus  NXputdata(NXhandle handle, void* data); 
     
    460465   * for linking.  
    461466   * \return NX_OK on success, NX_ERROR in the case of an error.    
    462    * \ingroup c_readwrite 
     467   * \ingroup c_linking 
    463468   */ 
    464469extern  NXstatus  NXgetdataID(NXhandle handle, NXlink* pLink); 
     
    471476   * by either a call to NXgetdataID or NXgetgroupID. 
    472477   * \return NX_OK on success, NX_ERROR in the case of an error.    
    473    * \ingroup c_readwrite 
     478   * \ingroup c_linking 
    474479   */ 
    475480extern  NXstatus  NXmakelink(NXhandle handle, NXlink* pLink); 
     
    492497   * \param handle A NeXus file handle as initialized by NXopen. 
    493498   * \return NX_OK on success, NX_ERROR in the case of an error.    
    494    * \ingroup c_linking 
     499   * \ingroup c_navigation 
    495500   */ 
    496501extern  NXstatus  NXopensourcegroup(NXhandle handle); 
     
    522527  /** 
    523528   * Get the next entry in the currently open group. This is for retrieving infromation about the  
    524    * content of a NeXus group. In order to search a group NXgetnextentry is called in a loop until  
    525    * NXgetnextentry returns NX_EOD which indicates that there are no further items in the group. 
     529   * content of a NeXus group. In order to search a group #NXgetnextentry is called in a loop until  
     530   * #NXgetnextentry returns NX_EOD which indicates that there are no further items in the group. 
     531   * Reset search using #NXinitgroupdir 
    526532   * \param handle A NeXus file handle as initialized by NXopen. 
    527533   * \param name The name of the object 
     
    529535   * \param datatype The NeXus data type if the item is a SDS.  
    530536   * \return NX_OK on success, NX_ERROR in the case of an error, NX_EOD when there are no more items.    
    531    * \ingroup c_readwrite 
     537   * \ingroup c_navigation 
    532538   */ 
    533539extern  NXstatus  NXgetnextentry(NXhandle handle, NXname name, NXname nxclass, int* datatype); 
     
    547553  /** 
    548554   * Iterate over global, group or dataset attributes depending on the currently open group or  
    549    * dataset. In order to search attributes multiple calls to NXgetnextattr are performed in a loop  
    550    * until NXgentnextattr returns NX_EOD which indicates that there are no further attributes. 
     555   * dataset. In order to search attributes multiple calls to #NXgetnextattr are performed in a loop  
     556   * until #NXgetnextattr returns NX_EOD which indicates that there are no further attributes. 
     557   * reset search using #NXinitattrdir 
    551558   * \param handle A NeXus file handle as initialized by NXopen. 
    552559   * \param pName The name of the attribute 
     
    559566 
    560567  /** 
    561    * Read an attribute. 
     568   * Read an attribute.  
    562569   * \param handle A NeXus file handle as initialized by NXopen. 
    563570   * \param name The name of the atrribute to read. 
     
    575582   * \param no_items A pointer to an integer which be set to the number of attributes available. 
    576583   * \return NX_OK on success, NX_ERROR in the case of an error.    
    577    * \ingroup c_readwrite 
     584   * \ingroup c_metadata 
    578585   */ 
    579586extern  NXstatus  NXgetattrinfo(NXhandle handle, int* no_items); 
     
    586593   * for linking.  
    587594   * \return NX_OK on success, NX_ERROR in the case of an error.    
    588    * \ingroup c_readwrite 
     595   * \ingroup c_linking 
    589596   */ 
    590597extern  NXstatus  NXgetgroupID(NXhandle handle, NXlink* pLink); 
     
    599606   * \param nxclass The NeXus class name of the group. 
    600607   * \return NX_OK on success, NX_ERROR in the case of an error.    
    601    * \ingroup c_readwrite 
     608   * \ingroup c_metadata 
    602609   */ 
    603610extern  NXstatus  NXgetgroupinfo(NXhandle handle, int* no_items, NXname name, NXname nxclass); 
     
    609616   * \param pSecondID The second link data structure. 
    610617   * \return NX_OK when both link data structures describe the same item, NX_ERROR else.    
    611    * \ingroup c_readwrite 
     618   * \ingroup c_linking 
    612619   */ 
    613620extern  NXstatus  NXsameID(NXhandle handle, NXlink* pFirstID, NXlink* pSecondID); 
    614   /** 
    615    * Resets a pending group search to the start again. To be called in a Nxgetnextentry loop when  
     621 
     622  /** 
     623   * Resets a pending group search to the start again. To be called in a #NXgetnextentry loop when  
    616624   * a group search has to be restarted. 
    617625   * \param handle A NeXus file handle as initialized by NXopen. 
    618626   * \return NX_OK on success, NX_ERROR in the case of an error.    
    619    * \ingroup c_readwrite 
     627   * \ingroup c_navigation  
    620628   */ 
    621629extern  NXstatus  NXinitgroupdir(NXhandle handle); 
    622630 
    623631  /** 
    624    * Resets a pending attribute search to the start again. To be called in a Nxgetnextattr loop when  
     632   * Resets a pending attribute search to the start again. To be called in a #NXgetnextattr loop when  
    625633   * an attribute search has to be restarted. 
    626634   * \param handle A NeXus file handle as initialized by NXopen. 
    627635   * \return NX_OK on success, NX_ERROR in the case of an error.    
    628    * \ingroup c_readwrite 
     636   * \ingroup c_navigation 
    629637   */ 
    630638extern  NXstatus  NXinitattrdir(NXhandle handle); 
     
    648656   * \param  filenameBufferLength The length of the filename buffer. 
    649657   * \return NX_OK on success, NX_ERROR in the case of an error.    
    650    * \ingroup c_readwrite 
     658   * \ingroup c_metadata 
    651659   */ 
    652660extern  NXstatus  NXinquirefile(NXhandle handle, char *filename, int filenameBufferLength); 
     
    661669   * \param urlLen The length of the Url buffer. At maximum urlLen bytes will be copied to url. 
    662670   * \return NX_OK when the group is pointing to an external file, NX_ERROR else. 
    663    * \ingroup c_readwrite 
     671   * \ingroup c_external 
    664672   */ 
    665673extern  NXstatus  NXisexternalgroup(NXhandle handle, CONSTCHAR *name, CONSTCHAR *nxclass, char *url, int urlLen);  
     
    675683   * path to the group in the external file which appears in the first file.   
    676684   * \return NX_OK on success, NX_ERROR in the case of an error.    
    677    * \ingroup c_readwrite 
     685   * \ingroup c_external 
    678686   */ 
    679687extern  NXstatus  NXlinkexternal(NXhandle handle, CONSTCHAR *name, CONSTCHAR *nxclass, CONSTCHAR *url); 
     
    764772extern  NXstatus  NXIprintlink(NXhandle fid, NXlink* link); 
    765773 
    766 /* 
    767   another special function for setting the default cache size for HDF-5 
    768 */ 
     774/** 
     775 * A function for setting the default cache size for HDF-5 
     776 * \ingroup c_init 
     777 */ 
    769778extern  NXstatus  NXsetcache(long newVal); 
    770779 
Note: See TracChangeset for help on using the changeset viewer.