NeXus  4.4.3
 All Data Structures Files Functions Variables Typedefs Macros Pages
Macros | Typedefs | Functions
nxstack.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MAXEXTERNALDEPTH   16
 

Typedefs

typedef struct __fileStackpFileStack
 

Functions

pFileStack makeFileStack ()
 
void killFileStack (pFileStack self)
 
int getFileStackSize ()
 
void pushFileStack (pFileStack self, pNexusFunction pDriv, char *filename)
 
void popFileStack (pFileStack self)
 
pNexusFunction peekFileOnStack (pFileStack self)
 
char * peekFilenameOnStack (pFileStack self)
 
void peekIDOnStack (pFileStack self, NXlink *id)
 
void setCloseID (pFileStack self, NXlink id)
 
int fileStackDepth (pFileStack self)
 
void pushPath (pFileStack self, const char *name)
 
void popPath (pFileStack self)
 
int buildPath (pFileStack self, char *path, int pathlen)
 

Macro Definition Documentation

#define MAXEXTERNALDEPTH   16

Definition at line 31 of file nxstack.h.

Typedef Documentation

typedef struct __fileStack* pFileStack

Definition at line 30 of file nxstack.h.

Function Documentation

int buildPath ( pFileStack  self,
char *  path,
int  pathlen 
)

Definition at line 125 of file nxstack.c.

Referenced by NXgetpath().

int fileStackDepth ( pFileStack  self)

Definition at line 109 of file nxstack.c.

Referenced by NXclose(), NXclosedata(), NXclosegroup(), and NXreopen().

int getFileStackSize ( )

Definition at line 69 of file nxstack.c.

Referenced by NXfclose(), NXfflush(), and NXfopen().

void killFileStack ( pFileStack  self)

Definition at line 63 of file nxstack.c.

Referenced by NXclose().

pFileStack makeFileStack ( )

Definition at line 50 of file nxstack.c.

References __fileStack::fileStackPointer, and __fileStack::pathPointer.

Referenced by NXopen(), and NXreopen().

char* peekFilenameOnStack ( pFileStack  self)

Definition at line 97 of file nxstack.c.

Referenced by NXinquirefile(), and NXreopen().

pNexusFunction peekFileOnStack ( pFileStack  self)

Definition at line 93 of file nxstack.c.

Referenced by NXclose(), NXflush(), and NXreopen().

void peekIDOnStack ( pFileStack  self,
NXlink *  id 
)

Definition at line 101 of file nxstack.c.

Referenced by NXclosedata(), and NXclosegroup().

void popFileStack ( pFileStack  self)

Definition at line 86 of file nxstack.c.

Referenced by NXclose().

void popPath ( pFileStack  self)

Definition at line 118 of file nxstack.c.

Referenced by NXclosedata(), and NXclosegroup().

void pushFileStack ( pFileStack  self,
pNexusFunction  pDriv,
char *  filename 
)

Definition at line 73 of file nxstack.c.

Referenced by NXreopen().

void pushPath ( pFileStack  self,
const char *  name 
)

Definition at line 113 of file nxstack.c.

Referenced by NXopendata(), and NXopengroup().

void setCloseID ( pFileStack  self,
NXlink  id 
)

Definition at line 105 of file nxstack.c.

Referenced by NXopendata(), and NXopengroup().