libccmio

Home Modules Examples

/u/xeona04/people/prewett/src/libccmio/libccmio/ccmiocore.h

Go to the documentation of this file.
00001 #ifndef CCMIO_CORE_H
00002 #define CCMIO_CORE_H
00003 
00004 /*@@
00005  *  Program: Star File Format Library  - $RCSfile: ccmiocore.h,v $
00006  *  Author:  Geoff Prewett
00007  *  Date:    July 28, 2003
00008  *
00009  *
00010  *  Star File Format Library - Copyright (C) 2003 by adapco, Ltd.
00011  *
00012  *  This program is the property of adapco, Ltd. and contains
00013  *  confidential and proprietary information.  The unauthorized use,
00014  *  distribution, or duplication of this program is prohibited.
00015  *  All rights reserved.
00016  *
00017  *  $Id: ccmiocore.h,v 1.7 2006/06/05 21:12:16 geoffp Exp $
00018  */
00019 
00020 #ifdef __cplusplus
00021 extern "C" {
00022 #endif
00023 
00024 #define kCCMIOBadNode 0.0
00025 
00026 #ifndef MAKEDEPEND
00027 #include <stdarg.h>
00028 #endif
00029 
00030 #include "libccmio/ccmiotypes.h"
00031 
00032 /* \{
00033    \name Core functions
00034    \brief The minimal set of functions.
00035    \ingroup core */
00036 
00041 extern CCMIOError CCMIOOpen( char const *filename, CCMIOIOType mode,
00042                              CCMIONode *root );
00043 
00046 extern CCMIOError CCMIOClose( CCMIONode root );
00047 
00058 extern CCMIOError CCMIOGetNode( CCMIOError *err, CCMIONode parent,
00059                                 char const *path, CCMIONode *node );
00060 
00062 extern CCMIOError CCMIOGetNumberOfChildren( CCMIOError *err, CCMIONode parent,
00063                                             int *n );
00064 
00077 extern CCMIOError CCMIOGetNextChild( CCMIOError *err, CCMIONode parent, int *n,
00078                                      CCMIONode *child );
00079 
00087 extern CCMIOError CCMIOGetName( CCMIOError *err, CCMIONode node, char *name );
00088 
00096 extern CCMIOError CCMIOSetName( CCMIOError *err, CCMIONode node,
00097                                 char const *name );
00098 
00106 extern CCMIOError CCMIOGetLabel( CCMIOError *err, CCMIONode node, char *label );
00107 
00109 extern CCMIOError CCMIOSetLabel( CCMIOError *err, CCMIONode node,
00110                                  char const *label );
00111 
00128 extern CCMIOError CCMIOCreateNode( CCMIOError *err, CCMIONode parent,
00129                                    int openDup, char const *name,
00130                                    char const *label, CCMIONode *node );
00131 
00143 extern CCMIOError CCMIOCreateLink( CCMIOError *err, CCMIONode parent,
00144                                    char const *name, char const *filename,
00145                                    char const *destName, CCMIONode *node );
00146 
00148 extern CCMIOError CCMIODeleteNode( CCMIOError *err, CCMIONode node );
00149 
00151 extern CCMIOError CCMIODeleteAllChildren( CCMIOError *err, CCMIONode node );
00152 
00154 extern CCMIOError CCMIOMoveNode( CCMIOError *err, CCMIONode node,
00155                                  CCMIONode newParent );
00156 
00166 extern CCMIOError CCMIOGetDimensions( CCMIOError *err, CCMIONode node,
00167                                       int *nDims, CCMIOIndex **dims );
00168 
00170 extern CCMIOError CCMIOGetDataSize( CCMIOError *err, CCMIONode node,
00171                                     CCMIOSize *bytes );
00172 
00174 extern CCMIOError CCMIOGetDataType( CCMIOError *err, CCMIONode node,
00175                                     CCMIODataType *type);
00176 
00189 extern CCMIOError CCMIOSetDataType( CCMIOError *err, CCMIONode node,
00190                                     CCMIODataType type, ... );
00191 extern CCMIOError CCMIOvSetDataType( CCMIOError *err, CCMIONode node,
00192                                      CCMIODataType type, va_list args );
00193 extern CCMIOError CCMIOSetDataTypev( CCMIOError *err, CCMIONode node,
00194                                      CCMIODataType type,
00195                                      int nDims, CCMIOIndex const *dims );
00196 
00247 
00250 
00253 
00258 
00260 
00261 
00262 
00263 

Generated on Mon Jun 5 17:16:02 2006 for libccmio by doxygen1.2.18