#include <stdlib.h>
#include <string.h>
#include <H5Ipublic.h>
#include <H5Tpublic.h>
#include "file-handle.h"
#include "status.h"
#include "util.h"
Go to the source code of this file.
Macros | |
#define | FILE_HANDLE_MAGIC 0xFEEDFEED |
Functions | |
int | mhdf_check_valid_file (FileHandle *handle, mhdf_Status *status) |
FileHandle * | mhdf_alloc_FileHandle (hid_t hdf_table, hid_t id_type, mhdf_Status *status) |
#define FILE_HANDLE_MAGIC 0xFEEDFEED |
MOAB, a Mesh-Oriented datABase, is a software component for creating, storing and accessing finite element mesh data.
Copyright 2004 Sandia Corporation. Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains certain rights in this software.
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
Definition at line 24 of file file-handle.c.
FileHandle* mhdf_alloc_FileHandle | ( | hid_t | hdf_table, |
hid_t | id_type, | ||
mhdf_Status * | status | ||
) |
Definition at line 43 of file file-handle.c.
References FILE_HANDLE_MAGIC, struct_FileHandle::hdf_handle, struct_FileHandle::id_type, struct_FileHandle::magic, struct_FileHandle::max_id, mhdf_malloc(), mhdf_setFail(), and struct_FileHandle::open_handle_count.
Referenced by mhdf_createFile(), and mhdf_openFileWithOpt().
int mhdf_check_valid_file | ( | FileHandle * | handle, |
mhdf_Status * | status | ||
) |
Definition at line 26 of file file-handle.c.
References FILE_HANDLE_MAGIC, struct_FileHandle::magic, and mhdf_setFail().
Referenced by create_tag_common(), get_tag(), mhdf_addElement(), mhdf_checkOpenHandles(), mhdf_closeData(), mhdf_closeFile(), mhdf_createAdjacency(), mhdf_createConnectivity(), mhdf_createDenseTagData(), mhdf_createNodeCoords(), mhdf_createPolyConnectivity(), mhdf_createSetChildren(), mhdf_createSetData(), mhdf_createSetMeta(), mhdf_createSetParents(), mhdf_getElemHandles(), mhdf_getElemName(), mhdf_getElemTypeName(), mhdf_getNextStartId(), mhdf_getNumberTags(), mhdf_getTagDataType(), mhdf_getTagNames(), mhdf_haveAdjacency(), mhdf_haveDenseTag(), mhdf_haveNodes(), mhdf_haveSets(), mhdf_isPolyElement(), mhdf_openAdjacency(), mhdf_openConnectivity(), mhdf_openConnectivitySimple(), mhdf_openDenseTagData(), mhdf_openNodeCoords(), mhdf_openNodeCoordsSimple(), mhdf_openPolyConnectivity(), mhdf_openSetChildren(), mhdf_openSetData(), mhdf_openSetMeta(), mhdf_openSetMetaSimple(), mhdf_openSetParents(), mhdf_readHistory(), and mhdf_writeHistory().