votHandle.c File Reference

(Internal) Methods to manage interface handles. More...

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "votParseP.h"

Functions

int vot_handleCount ()
 Get the number of handle_t used (internal method).
handle_t vot_lookupHandle (Element *elem)
 Lookup the handle_t to an Element (internal method).
handle_t vot_setHandle (Element *elem)
 Assign the Element a handle_t (internal method).
void vot_freeHandle (handle_t handle)
 Free a handle for use (internal method).
Element * vot_getElement (handle_t handle)
 Get the Element refered to by handle_t (internal method).
void vot_handleCleanup (void)
 Free all the handle nodes (internal method).
void vot_newHandleTable (void)
 Initialize a handle table (internal method).


Detailed Description

(Internal) Methods to manage interface handles.

VOTHANDLE.C -- (Internal) Methods to manage interface handles.

Author:
Mike Fitzpatrick and Eric Timmermann
Date:
8/03/09

Function Documentation

vot_freeHandle ( handle_t  handle  ) 

Free a handle for use (internal method).

vot_freeHandle -- Free a handle for use (internal method)

Parameters:
handle A handle_t to the Element you wish to free
Returns:
nothing

Element * vot_getElement ( handle_t  handle  ) 

Get the Element refered to by handle_t (internal method).

vot_getElement -- Get the Element refered to by handle_t (internal method)

Parameters:
handle A handle_t to the Element.
Returns:
A pointer to the requested Element.

vot_handleCleanup ( void   ) 

Free all the handle nodes (internal method).

vot_handleCleanup -- Free all the handle nodes (internal method)

Returns:
nothing

int vot_handleCount ( void   ) 

Get the number of handle_t used (internal method).

count of current used handles vot_handleCount -- Get the number of handle_t used (internal method)

Returns:
The number of handle_t types currently stored

handle_t vot_lookupHandle ( Element *  elem  ) 

Lookup the handle_t to an Element (internal method).

vot_lookupHandle -- Lookup the handle_t to an Element (internal method)

Parameters:
*elem A pointer to an Element
Returns:
A handle_t to the Element

vot_newHandleTable ( void   ) 

Initialize a handle table (internal method).

vot_newHandleTable -- Initialize a handle table (internal method)

Returns:
nothing

handle_t vot_setHandle ( Element *  elem  ) 

Assign the Element a handle_t (internal method).

vot_setHandle -- Assign the Element a handle_t (internal method)

Parameters:
elem A pointer to an Element to be assigned a handle_t.
Returns:
A handle_t refering to elem


Generated on Wed May 5 16:32:13 2010 for libVOTable by  doxygen 1.5.9