aqbanking  5.0.22
Typedefs | Functions
security.h File Reference
#include <gwenhywfar/db.h>
#include <gwenhywfar/misc.h>
#include <gwenhywfar/list2.h>
#include <gwenhywfar/types.h>
#include <gwenhywfar/gwentime.h>
#include <aqbanking/value.h>

Go to the source code of this file.

Typedefs

typedef struct AB_SECURITY AB_SECURITY

Functions

AB_SECURITY_LIST * AB_Security_List_dup (const AB_SECURITY_LIST *stl)
void AB_Security_List2_freeAll (AB_SECURITY_LIST2 *stl)
AB_SECURITY * AB_Security_new (void)
AB_SECURITY * AB_Security_fromDb (GWEN_DB_NODE *db)
AB_SECURITY * AB_Security_dup (const AB_SECURITY *st)
void AB_Security_free (AB_SECURITY *st)
void AB_Security_Attach (AB_SECURITY *st)
int AB_Security_ReadDb (AB_SECURITY *st, GWEN_DB_NODE *db)
int AB_Security_toDb (const AB_SECURITY *st, GWEN_DB_NODE *db)
int AB_Security_IsModified (const AB_SECURITY *st)
void AB_Security_SetModified (AB_SECURITY *st, int i)
const char * AB_Security_GetName (const AB_SECURITY *el)
void AB_Security_SetName (AB_SECURITY *el, const char *d)
const char * AB_Security_GetUniqueId (const AB_SECURITY *el)
void AB_Security_SetUniqueId (AB_SECURITY *el, const char *d)
const char * AB_Security_GetNameSpace (const AB_SECURITY *el)
void AB_Security_SetNameSpace (AB_SECURITY *el, const char *d)
const char * AB_Security_GetTickerSymbol (const AB_SECURITY *el)
void AB_Security_SetTickerSymbol (AB_SECURITY *el, const char *d)
const AB_VALUE * AB_Security_GetUnits (const AB_SECURITY *el)
void AB_Security_SetUnits (AB_SECURITY *el, const AB_VALUE *d)
const AB_VALUE * AB_Security_GetUnitPriceValue (const AB_SECURITY *el)
void AB_Security_SetUnitPriceValue (AB_SECURITY *el, const AB_VALUE *d)
const GWEN_TIME * AB_Security_GetUnitPriceDate (const AB_SECURITY *el)
void AB_Security_SetUnitPriceDate (AB_SECURITY *el, const GWEN_TIME *d)

Typedef Documentation

typedef struct AB_SECURITY AB_SECURITY

Definition at line 84 of file security.h.


Function Documentation

Increments the usage counter of the given object, so an additional free() is needed to destroy the object.

Creates and returns a deep copy of thegiven object.

void AB_Security_free ( AB_SECURITY *  st)

Destroys the given object.

AB_SECURITY* AB_Security_fromDb ( GWEN_DB_NODE *  db)

Creates an object from the data in the given GWEN_DB_NODE

const char* AB_Security_GetName ( const AB_SECURITY *  el)

Returns the property AB_SECURITY_Name

const char* AB_Security_GetNameSpace ( const AB_SECURITY *  el)

Returns the property AB_SECURITY_NameSpace

const char* AB_Security_GetTickerSymbol ( const AB_SECURITY *  el)

Returns the property AB_SECURITY_TickerSymbol

const char* AB_Security_GetUniqueId ( const AB_SECURITY *  el)

Returns the property AB_SECURITY_UniqueId

const GWEN_TIME* AB_Security_GetUnitPriceDate ( const AB_SECURITY *  el)

Returns the property AB_SECURITY_UnitPriceDate

Returns the property AB_SECURITY_UnitPriceValue

const AB_VALUE* AB_Security_GetUnits ( const AB_SECURITY *  el)

Returns the property AB_SECURITY_Units

int AB_Security_IsModified ( const AB_SECURITY *  st)

Returns 0 if this object has not been modified, !=0 otherwise

Destroys all objects stored in the given LIST2 and the list itself

Creates a new object.

int AB_Security_ReadDb ( AB_SECURITY *  st,
GWEN_DB_NODE *  db 
)

Reads data from a GWEN_DB.

void AB_Security_SetModified ( AB_SECURITY *  st,
int  i 
)

Sets the modified state of the given object

void AB_Security_SetName ( AB_SECURITY *  el,
const char *  d 
)

Set the property AB_SECURITY_Name

void AB_Security_SetNameSpace ( AB_SECURITY *  el,
const char *  d 
)

Set the property AB_SECURITY_NameSpace

void AB_Security_SetTickerSymbol ( AB_SECURITY *  el,
const char *  d 
)

Set the property AB_SECURITY_TickerSymbol

void AB_Security_SetUniqueId ( AB_SECURITY *  el,
const char *  d 
)

Set the property AB_SECURITY_UniqueId

void AB_Security_SetUnitPriceDate ( AB_SECURITY *  el,
const GWEN_TIME *  d 
)

Set the property AB_SECURITY_UnitPriceDate

void AB_Security_SetUnitPriceValue ( AB_SECURITY *  el,
const AB_VALUE *  d 
)

Set the property AB_SECURITY_UnitPriceValue

void AB_Security_SetUnits ( AB_SECURITY *  el,
const AB_VALUE *  d 
)

Set the property AB_SECURITY_Units

int AB_Security_toDb ( const AB_SECURITY *  st,
GWEN_DB_NODE *  db 
)

Stores an object in the given GWEN_DB_NODE