sbLocalDatabaseSchemaInfo.h File Reference
#include <nsComponentManagerUtils.h>
#include <sbISQLBuilder.h>
#include <sbIDatabaseQuery.h>
#include <sbIDatabaseResult.h>
#include <sbStandardProperties.h>
#include <sbSQLBuilderCID.h>
#include <sbILocalDatabasePropertyCache.h>
Include dependency graph for sbLocalDatabaseSchemaInfo.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  sbStaticProperty
 

Macros

#define MAX_IN_LENGTH   5000
 

Functions

static PRBool SB_IsTopLevelProperty (PRUint32 aPropertyDBID)
 
static PRBool SB_IsTopLevelProperty (const nsAString &aProperty)
 
static nsresult SB_GetTopLevelPropertyColumn (const nsAString &aProperty, nsAString &aColumnName)
 
static nsresult SB_GetTopLevelPropertyColumnType (const nsAString &aProperty, PRUint32 &aColumnType)
 
static nsresult SB_GetTopLevelPropertyColumnType (const PRUint32 aPropertyDBID, PRUint32 &aColumnType)
 
static nsresult SB_GetTopLevelPropertyColumn (const PRUint32 aPropertyDBID, nsAString &aColumnName)
 
static PRInt32 SB_GetPropertyId (const nsAString &aProperty, sbILocalDatabasePropertyCache *aPropertyCache)
 

Variables

const PRUint32 SB_COLUMN_TYPE_TEXT = 0
 
const PRUint32 SB_COLUMN_TYPE_INTEGER = 1
 
static sbStaticProperty sStaticProperties []
 
static const PRUint32 sStaticPropertyCount = 11
 

Macro Definition Documentation

#define MAX_IN_LENGTH   5000

Definition at line 39 of file sbLocalDatabaseSchemaInfo.h.

Function Documentation

static PRInt32 SB_GetPropertyId ( const nsAString &  aProperty,
sbILocalDatabasePropertyCache aPropertyCache 
)
inlinestatic

Definition at line 199 of file sbLocalDatabaseSchemaInfo.h.

static nsresult SB_GetTopLevelPropertyColumn ( const nsAString &  aProperty,
nsAString &  aColumnName 
)
inlinestatic

Definition at line 147 of file sbLocalDatabaseSchemaInfo.h.

Here is the caller graph for this function:

static nsresult SB_GetTopLevelPropertyColumn ( const PRUint32  aPropertyDBID,
nsAString &  aColumnName 
)
inlinestatic

Definition at line 186 of file sbLocalDatabaseSchemaInfo.h.

static nsresult SB_GetTopLevelPropertyColumnType ( const nsAString &  aProperty,
PRUint32 &  aColumnType 
)
inlinestatic

Definition at line 160 of file sbLocalDatabaseSchemaInfo.h.

Here is the caller graph for this function:

static nsresult SB_GetTopLevelPropertyColumnType ( const PRUint32  aPropertyDBID,
PRUint32 &  aColumnType 
)
inlinestatic

Definition at line 173 of file sbLocalDatabaseSchemaInfo.h.

static PRBool SB_IsTopLevelProperty ( PRUint32  aPropertyDBID)
inlinestatic

Definition at line 127 of file sbLocalDatabaseSchemaInfo.h.

Here is the caller graph for this function:

static PRBool SB_IsTopLevelProperty ( const nsAString &  aProperty)
inlinestatic

Definition at line 137 of file sbLocalDatabaseSchemaInfo.h.

Variable Documentation

const PRUint32 SB_COLUMN_TYPE_INTEGER = 1

Definition at line 48 of file sbLocalDatabaseSchemaInfo.h.

const PRUint32 SB_COLUMN_TYPE_TEXT = 0

Definition at line 47 of file sbLocalDatabaseSchemaInfo.h.

sbStaticProperty sStaticProperties[]
static

Definition at line 55 of file sbLocalDatabaseSchemaInfo.h.

const PRUint32 sStaticPropertyCount = 11
static

Definition at line 124 of file sbLocalDatabaseSchemaInfo.h.