# Glom Namespace Reference

## Namespaces

namespace | ConnectionPoolBackends
namespace | Conversions
namespace | Spawn
namespace | Utils

## Classes

class | AppState
| There is one instance per document. More...
class | CalcInProgress
class | SharedConnection
| When the SharedConnection is destroyed, it will inform the connection pool, so that the connection pool can keep track of who is using the connection, so that it can close it when nobody is using it. More...
class | ConnectionPool
| This is a singleton. More...
class | ExceptionConnection
class | predicate_FieldHasName
| A predicate for use with std::find_if() to find a Field or LayoutItem which refers to the same field, looking at just the name. More...
class | Field
class | FieldTypes
class | FoundSet
| A grouping of information about a view of a table, including what records are viewed (the where clause), how the are sorted (the sort clause). More...
class | GroupInfo
class | HasTitleSingular
| HasTitleSingular instances may have a (translated) singular form of their title. More...
class | CustomTitle
class | FieldFormatting
class | LayoutGroup
class | LayoutItem
class | LayoutItem_Button
class | LayoutItem_CalendarPortal
class | predicate_LayoutItem_Field_IsSameField
| A predicate for use with std::find_if() to find a LayoutItem_Field which refers to the same field, without comparing irrelevant stuff such as formatting. More...
class | LayoutItem_Field
| A LayoutItem that shows the data from a table field. More...
class | LayoutItem_Image
class | LayoutItem_Line
| This is only used on print layouts. More...
class | LayoutItem_Notebook
| The child items are LayoutGroups, each of which will be shown on its own tab. More...
class | LayoutItem_Placeholder
class | LayoutItem_Portal
class | LayoutItem_Text
class | LayoutItem_WithFormatting
| A base class for all layout items that may have formatting options. More...
class | LayoutItem_FieldSummary
class | LayoutItem_Footer
class | LayoutItem_GroupBy
| The child items are fields to be shown for each record in the group. More...
class | LayoutItem_Header
class | LayoutItem_Summary
class | LayoutItem_VerticalGroup
| The child items are arranged vertically in a row on a report. More...
class | UsesRelationship
class | NumericFormat
class | ParameterNameGenerator
class | PrintLayout
class | Privileges
class | Relationship
class | Report
class | SystemPrefs
class | TableInfo
class | TranslatableItem
| TranslatableItem have a map of translation strings - one string for each locale. More...
class | Document
class | PyGlomRecord
class | PyGlomRelated
class | PyGlomRelatedRecord
class | PyGlomUI
class | PythonUICallbacks
| UI code should connect to the signals to respond when Python code request a change in the UI. More...
class | sharedptr
| A ref-counting smart-pointer for the underlying C++ object. More...

## Typedefs

typedef GlomBakery::View < Document > | View_Glom
| The base View for the document.
typedef GlomBakery::View_Composite < Document > | View_Composite_Glom
typedef std::list< sharedptr < const UsesRelationship > > | type_list_relationships
typedef std::pair< sharedptr < const LayoutItem_Field > , bool > | type_pair_sort_field
| field, ascending
typedef std::list < type_pair_sort_field > | type_sort_clause

## Functions

template<class T_object >
Glib::ustring | glom_get_sharedptr_name (const sharedptr< T_object >& item)
template<class T_object >
Glib::ustring | glom_get_sharedptr_title_or_name (const sharedptr< T_object >& item)
void | libglom_init ()
| This must be used by applications other than Glom, which are unlikely to otherwise initialize the libraries used by libglom.
void | libglom_deinit ()
template<class T_obj >
sharedptr< T_obj > | glom_sharedptr_clone (const sharedptr< T_obj >& src)
template<class T_obj >
sharedptr< T_obj > | glom_sharedptr_clone (const sharedptr< const T_obj >& src)

## Typedef Documentation

typedef std::list< sharedptr<const UsesRelationship> > Glom::type_list_relationships

typedef std::pair< sharedptr<const LayoutItem_Field>, bool> Glom::type_pair_sort_field

field, ascending

typedef std::list<type_pair_sort_field> Glom::type_sort_clause

typedef GlomBakery::View_Composite<Document> Glom::View_Composite_Glom

typedef GlomBakery::View<Document> Glom::View_Glom

The base View for the document.

## Function Documentation

template <class T_object >

Glib::ustring Glom::glom_get_sharedptr_name | ( | const sharedptr< T_object > & | item | ) | `[inline]`

template <class T_object >

Glib::ustring Glom::glom_get_sharedptr_title_or_name | ( | const sharedptr< T_object > & | item | ) | `[inline]`

template <class T_obj >

sharedptr<T_obj> Glom::glom_sharedptr_clone | ( | const sharedptr< const T_obj > & | src | ) | `[inline]`

template <class T_obj >

sharedptr<T_obj> Glom::glom_sharedptr_clone | ( | const sharedptr< T_obj > & | src | ) | `[inline]`

void Glom::libglom_deinit | ( |  | ) |

void Glom::libglom_init | ( |  | ) |

This must be used by applications other than Glom, which are unlikely to otherwise initialize the libraries used by libglom.

Glom uses it too, just to avoid duplicating code.