Vaca Namespace Reference


Classes

class  Anchor
 Anchor constraint. More...
class  AnchorLayout
 An AnchorLayout tries to maintain the same aspect of the widgets using references rectangles. More...
class  Application
 The main class of Vaca: initializes and destroys the GUI library resources. More...
class  BandedDockArea
 An area where you can put DockBars separated by bands. More...
struct  OrientationEnum
 It's like a namespace for Orientation. More...
struct  TextAlignEnum
 It's like a namespace for TextAlign. More...
struct  VerticalAlignEnum
 It's like a namespace for VerticalAlign. More...
struct  SideEnum
 It's like a namespace for Side. More...
struct  SidesEnumSet
 It's like a namespace for Sides. More...
struct  CardinalDirectionEnum
 It's like a namespace for CardinalDirection. More...
class  BasicDockArea
 The most basic dock area management. More...
class  BindAdapter0_fun
class  BindAdapter0_fun< void, F >
class  BindAdapter0_mem
class  BindAdapter0_mem< void, T >
class  BindAdapter1_fun
class  BindAdapter1_fun< void, F, X1 >
class  BindAdapter1_mem
class  BindAdapter1_mem< void, T, B1, X1 >
class  BindAdapter2_fun
class  BindAdapter2_fun< void, F, X1, X2 >
class  BindAdapter2_mem
class  BindAdapter2_mem< void, T, B1, B2, X1, X2 >
class  BindAdapter3_fun
class  BindAdapter3_fun< void, F, X1, X2, X3 >
class  BindAdapter3_mem
class  BindAdapter3_mem< void, T, B1, B2, B3, X1, X2, X3 >
class  RefWrapper
class  Bix
 A Bix is a layout manager which allows you to arrange widgets in a matricial way or horizontally/vertically (like a row/column vector respectively). More...
class  BoxConstraint
 Defines a constraint for the BoxLayout. More...
class  BoxLayout
class  Brush
 A brush can be used to fill rectangles, ellipses, and paths. More...
class  Button
 Handles a pusheable button. More...
class  ButtonBase
 Base for every button. More...
class  CancelableEvent
 Event that can be canceled. More...
class  CheckBox
 Handles a check box button. More...
class  ClientLayout
 The more simplest Layout manager: positions all the widgets in the full client area. More...
class  Clipboard
 Handles the global clipboard. More...
class  CloseEvent
class  Color
 A color that can be used to create pens or brushes. More...
class  ColorDialog
 A common dialog box to select colors. More...
class  ComboBox
 Combo box control. More...
class  Command
 A command, action or function of the application. More...
class  SignalCommand
 Specialization of Command class to handle the Command::execute and Command::isEnabled as signals. More...
class  CommandsClient
 An object that contains commands (Application). More...
class  CommonDialog
 Base class for common dialogs. More...
class  Component
 A component is a visual object, such as widgets or menus. More...
class  CreateConditionVariableException
 This exception is thrown when a ConditionVariable couldn't be created. More...
class  ConditionVariable
class  Constraint
 Abstract class to represent a constraint. More...
struct  SysCursorEnum
struct  Win32DestroyCursor
class  Cursor
 A mouse cursor. More...
class  CustomButton
 Customizable button to draw it with your own Widget::onPaint method. More...
class  CustomLabel
 Customized static label control. More...
class  DataGridColumn
class  DataGridValue
class  DataGridSource
class  DataGridClass
 Represents the Win32 class used by DataGrid. More...
class  DataGrid
struct  __vaca_trace_s
class  DialogClass
 Represents the Win32 class used by Dialog. More...
class  Dialog
 A dialog box. More...
class  DockInfo
 Information needed for every DockBar that is docked in a specific DockArea. More...
class  DockAreaClass
 Represents the Win32 class used by DockArea. More...
class  DockArea
 The abstract class to create DockAreas. More...
class  DockBarClass
 Represents the Win32 class used by DockBar. More...
class  DockBar
 A dockable bar. More...
class  DockFrameClass
 Represents the Win32 class used by DockFrame. More...
class  DockFrame
 A Frame for a DockBar, commondly called "Palette Window". More...
class  DropFilesEvent
class  Edit
 Widget to edit a line of text. More...
class  PasswordEdit
 Widget to input a password field. More...
class  MultilineEdit
 Widget to edit multiple lines of text. More...
struct  Enum
 This class is used to define enumerations "a la" C++0x. More...
struct  EnumSet
 This class is used to define sets of enumerated values. More...
class  Event
 Base class for every kind of event. More...
class  Exception
 Exception generated from Vaca. More...
class  FileDialog
 A common dialog box to select files. More...
class  OpenFileDialog
 The common dialog box to open file(s). More...
class  SaveFileDialog
 The common dialog box to save a file. More...
class  FindTextDialog
 A common dialog box to find (or replace) text. More...
struct  FontStyleEnumSet
class  FontMetrics
 Dimensions of a Font. More...
class  Font
 A smart pointer to a font that can be used in Graphics or Widget to draw text. More...
class  FontDialog
 A common dialog box to select fonts. More...
class  FrameClass
 Represents the Win32 class used by Frame. More...
class  Frame
 A window with title-bar that can be minimized, maximized, etc. More...
struct  Win32DestroyGdiObject
 Helper for GdiObject class to destroy Win32's HGDIOBJ handles. More...
class  GdiObject
 This class is a wrapper for Win32's GDI objects. More...
struct  FillRuleEnum
class  Graphics
 Class to control a graphics context. More...
class  ScreenGraphics
 Class to draw directly in the screen. More...
class  GraphicsPath
 Set of nodes to draw polygons and shapes in Graphics. More...
class  GroupBox
 An edge (with a label optionally) that can be used to group sub-widgets. More...
class  HttpRequestException
 This exception is thrown when HttpRequest generates an error due connectivity problems. More...
class  HttpRequest
 Sends a HTTP request to the specified URL to get its content. More...
struct  Win32DestroyIcon
 Used to destroy the HICON handle from GdiObject. More...
class  Icon
 A smart pointer to an icon. More...
class  ImageHandle
 Used to destroy the HBITMAP handle of a Image. More...
class  Image
 A smart pointer to an image. More...
struct  Win32DestroyImageList
 Used to destroy the HIMAGELIST handle from GdiObject. More...
class  ImageList
 ImageLists are containers of images and icons that can be used in items of a ListView or a TreeView. More...
class  Item
 Abstract class to represent an item of any control. More...
class  KeyEvent
 Data for an event that comes from the keyboard. More...
struct  Keys
class  Label
 A static label of text. More...
class  Layout
 A Layout setups the position of a collection of widgets. More...
class  LinkLabel
 A link to Internet (or whatever you want). More...
class  ListBox
 List box control. More...
class  DragListBox
class  ListItem
struct  ListViewTypeEnum
class  ListView
 A ListView control. More...
class  ListViewEvent
 Event where interact a ListView. More...
class  MdiChildClass
 Represents the Win32 class used by MdiChild. More...
class  MdiChild
 Controls a child window for a MdiClient. More...
class  MdiClient
 Widget which its client area contains MdiChild windows. More...
class  MdiFrame
 The default implementation to use the MDI interface. More...
class  MenuItem
 A menu item. More...
class  MenuSeparator
 A separator for menu items. More...
class  Menu
 A container of menu items. More...
class  MenuBar
 A menu bar, has a collection of Menus. More...
class  PopupMenu
class  MdiListMenu
 A menu that has the list of all MdiChild. More...
class  MenuItemEvent
struct  MouseButtonEnum
 Namespace for MouseButton enumeration. More...
class  MouseEvent
 An event from the mouse. More...
class  MsgBox
 Class to show a message box. More...
class  Mutex
 An object to synchronize threads using mutual exclusion of critical sections. More...
class  NonCopyable
 Class which can't be copied. More...
class  PanelClass
 Represents the Win32 class used by PanelClass. More...
class  Panel
 A basic widget. More...
class  ParseException
 This exception is thrown when a routine that parse a string has failed due ill-formed input. More...
struct  PenStyleEnum
 It's like a namespace for PenStyle. More...
struct  PenEndCapEnum
 It's like a namespace for PenEndCap. More...
struct  PenJoinEnum
 It's like a namespace for PenJoin. More...
class  Pen
 A pen can be used to draw lines, edges of rectangles, ellipses, and paths. More...
class  Point
 A 2D coordinate in the screen or client area of a widget. More...
class  ProgressBar
 Shows progress for a task that is running in background. More...
class  RadioGroup
 Groups a set of RadioButtons. More...
class  RadioButton
 A radio button. More...
class  ReBar
 TODO. More...
class  Rect
 A rectangle. More...
class  Referenceable
 Class that counts references and can be wrapped by a SmartPtr. More...
class  Region
 A region, it can be simple as a rectangle, complex as any shape, but also can be empty. More...
class  RegisterException
 Thrown when Register can't registers the WidgetClass. More...
class  Register
 Registers a window class to be used in Win32 routines (like CreateWindow(W32)). More...
class  ResourceException
 A resource (from exe or from an external file) can't be loaded. More...
class  ResourceId
 Class to wrap an ID of an object in the resource file (.rc). More...
class  SciRegister
 Loads the Scintilla DLL. More...
class  SciEditor
 Controls a Scintilla text editor. More...
class  ScopedLock
 An object to safely lock and unlock mutexes. More...
class  ScrollInfo
 Auxiliary structure to get and set scroll information. More...
class  Separator
class  Signal0_base
 Base class for signals which call functions without parameters. More...
class  Signal0
class  Signal0< void >
class  Signal1_base
 Base class for signals which call functions with one parameter. More...
class  Signal1
class  Signal1< void, A1 >
class  Signal2_base
 Base class for signals which call functions with two parameters. More...
class  Signal2
class  Signal2< void, A1, A2 >
class  Size
 A 2D size. More...
class  Slider
class  Slot0
class  Slot0_fun
class  Slot0_fun< void, F >
class  Slot0_mem
class  Slot0_mem< void, T >
class  Slot1
class  Slot1_fun
class  Slot1_fun< void, F, A1 >
class  Slot1_mem
class  Slot1_mem< void, T, A1 >
class  Slot2
class  Slot2_fun
class  Slot2_fun< void, F, A1, A2 >
class  Slot2_mem
class  Slot2_mem< void, T, A1, A2 >
class  SmartPtr
 A pointer which maintains reference counting and automatically deletes the pointed object when it is no longer referenced. More...
class  SpinButtonEvent
class  SpinButton
 A couple of buttons to up or down a value. More...
class  SpinnerClass
 Represents the Win32 class used by Spinner. More...
class  Spinner
 A Spinner is a couple of Widgets: an Edit and a SpinButton at the right side. More...
class  StatusBar
class  String
 A string of characters. More...
class  Style
 A widget style. More...
class  System
 Class to access to operating system information. More...
class  TabBase
 Widget that contains tabs to switch between them. More...
class  Tab
 This class automatically controls the visibility of each page (TabPage). More...
class  TabPageClass
 Represents the Win32 class used by TabPage. More...
class  TabPage
 A page for an automatic Tab. More...
class  CreateThreadException
 This exception is thrown when a new Thread couldn't be created. More...
class  Thread
 A thread of execution. More...
class  TimePoint
 Class to measure elapsed time, like a chronometer. More...
class  Timer
 Class to schedule events every x milliseconds. More...
class  ToggleButton
 Handles a pusheable button (with BS_AUTOCHECKBOX | BS_PUSHLIKE styles). More...
struct  ToolButtonStateEnumSet
class  ToolButton
 A button inside a ToolSet. More...
class  ToolSet
 A set of tool buttons. More...
class  ToolBar
 A dockable tool bar. More...
class  TreeNode
 A TreeView node. More...
class  TreeViewIterator
class  TreeView
 Handles a TreeView control. More...
class  TreeViewEvent
 Event where interact a TreeView and TreeNode. More...
struct  WidgetHitTestEnum
class  CreateWidgetException
 This exception is thrown when the operating system can't create the Widget. More...
class  Widget
 Base class for widgets. More...
class  MakeWidgetRef
 Makes a reference to the specified widget. More...
class  WidgetClassName
 Represents the name of a WidgetClass. More...
class  WidgetClass
 Base class to retrieve information about a new Win32 class to be registered using the Register class. More...

Typedefs

typedef TCHAR Character
 A character.
typedef unsigned int CommandId
 An identifier for an application's Command.
typedef unsigned int ThreadId
 An identifier for a Thread.
typedef MSG Message
 A message that comes from the operating system.
typedef Enum< OrientationEnumOrientation
 Horizontal or vertical orientation.
typedef Enum< TextAlignEnumTextAlign
 Horizontal alignment.
typedef Enum< VerticalAlignEnumVerticalAlign
 Vertical alignment.
typedef Enum< SideEnumSide
 A side.
typedef EnumSet< SidesEnumSetSides
 A set of sides.
typedef Enum
< CardinalDirectionEnum
CardinalDirection
 A cardinal direction.
typedef Enum< SysCursorEnumSysCursor
 System mouse cursors.
typedef EnumSet< FontStyleEnumSetFontStyle
 A FontStyle can be one of the following values:.
typedef Enum< FillRuleEnumFillRule
typedef Enum< ListViewTypeEnumListViewType
typedef Enum< MouseButtonEnumMouseButton
 A button of the mouse.
typedef Enum< PenStyleEnumPenStyle
 Speficies the style to be used when draw a line.
typedef Enum< PenEndCapEnumPenEndCap
 Speficies how to end the lines of an open GraphicsPath.
typedef Enum< PenJoinEnumPenJoin
 Specifies how to join the corners of a GraphicsPath.
typedef EnumSet
< ToolButtonStateEnumSet
ToolButtonState
typedef Enum< WidgetHitTestEnumWidgetHitTest
 It indicates a place inside a Widget which the mouse cursor could be.

Enumerations

enum  {
  BixTypeMask = 3, BixRow = 1, BixCol = 2, BixMat = 3,
  BixEvenX = 4, BixEvenY = 8, BixEven = BixEvenX | BixEvenY, BixFillX = 16,
  BixFillY = 32, BixFill = BixFillX | BixFillY
}
enum  DataGridType { DataGrid_Bool, DataGrid_Int, DataGrid_Float, DataGrid_String }

Functions

void __vaca_trace (LPCSTR filename, UINT line, LPCSTR fmt,...)
void __vaca_close_log_file ()
void __vaca_remove_all_thread_data ()
Widget__vaca_get_outside_widget ()
void __vaca_set_outside_widget (Widget *widget)
void delete_widget (Widget *widget)
 Safe way to delete a widget from memory.
template<typename ContainerType>
void remove_from_container (ContainerType &container, typename ContainerType::const_reference element)
 Removes an element from the specified STL container.
template<typename R, typename F>
BindAdapter0_fun< R, F > Bind (const F &f)
template<typename R, typename T, typename T2>
BindAdapter0_mem< R, T > Bind (R(T::*m)(), T2 *t)
template<typename R, typename F, typename X1>
BindAdapter1_fun< R, F, X1 > Bind (const F &f, X1 x1)
template<typename R, typename T, typename T2, typename B1, typename X1>
BindAdapter1_mem< R, T, B1, X1 > Bind (R(T::*m)(B1), T2 *t, X1 x1)
template<typename R, typename F, typename X1, typename X2>
BindAdapter2_fun< R, F, X1, X2 > Bind (const F &f, X1 x1, X2 x2)
template<typename R, typename T, typename T2, typename B1, typename B2, typename X1, typename X2>
BindAdapter2_mem< R, T, B1, B2,
X1, X2 > 
Bind (R(T::*m)(B1, B2), T2 *t, X1 x1, X2 x2)
template<typename R, typename F, typename X1, typename X2, typename X3>
BindAdapter3_fun< R, F, X1, X2,
X3 > 
Bind (const F &f, X1 x1, X2 x2, X3 x3)
template<typename R, typename T, typename T2, typename B1, typename B2, typename B3, typename X1, typename X2, typename X3>
BindAdapter3_mem< R, T, B1, B2,
B3, X1, X2, X3 > 
Bind (R(T::*m)(B1, B2, B3), T2 *t, X1 x1, X2 x2)
template<class T>
RefWrapper< T > Ref (T &ref)
 Creates RefWrappers, useful to wrap arguments that have to be passed as a reference when you use Bind.
struct __vaca_trace_s __make_trace (LPCSTR filename, UINT line)
template<class T>
bool operator== (const SmartPtr< T > &ptr1, const SmartPtr< T > &ptr2)
 Compares if two smart-pointers points to the same place (object, memory address).
template<class T>
bool operator!= (const SmartPtr< T > &ptr1, const SmartPtr< T > &ptr2)
 Compares if two smart-pointers points to different places (objects, memory addresses).
String operator+ (const String &_s1, const char *_s2)
 Concatenate a String with a normal C string.
String operator+ (const String &_s1, const wchar_t *_s2)
 Concatenate a String with a C string with wide-characters.
String operator+ (const char *_s1, const String &_s2)
 Concatenate a normal C string and a String.
String operator+ (const wchar_t *_s1, const String &_s2)
 Concatenate a C string with wide-characters and a String.


Typedef Documentation

A cardinal direction.

One of the following values:

  • CardinalDirection::North
  • CardinalDirection::Northeast
  • CardinalDirection::East
  • CardinalDirection::Southeast
  • CardinalDirection::South
  • CardinalDirection::Southwest
  • CardinalDirection::West
  • CardinalDirection::Northwest

typedef TCHAR Vaca::Character

A character.

It has 8-bits (char) if Unicode is disabled, or 16-bits (short) if you compile with Unicode support.

Win32 Specific:
It is a TCHAR.

See also:
TN008: Unicode support

typedef unsigned int Vaca::CommandId

An identifier for an application's Command.

See also:
Widget::onCommand, Command

A FontStyle can be one of the following values:.

  • FontStyle::Regular
  • FontStyle::Bold
  • FontStyle::Italic
  • FontStyle::Underline
  • FontStyle::Strikeout

typedef MSG Vaca::Message

A message that comes from the operating system.

You should use a Message like a black-box, which means that you can't see and ask for any property about it.

Win32 Specific:
This is just a MSG(W32).

A button of the mouse.

One of the following values:

  • MouseButton::None
  • MouseButton::Left
  • MouseButton::Right
  • MouseButton::Middle

Horizontal or vertical orientation.

One of the following values:

  • Orientation::Horizontal (default)
  • Orientation::Vertical

Speficies how to end the lines of an open GraphicsPath.

One of the following values:

  • PenEndCap::Round (default)
  • PenEndCap::Square
  • PenEndCap::Flat

Specifies how to join the corners of a GraphicsPath.

One of the following values:

  • PenJoin::Round (default)
  • PenJoin::Bevel
  • PenJoin::Miter

Speficies the style to be used when draw a line.

One of the following values:

  • PenStyle::Solid
  • PenStyle::Dash
  • PenStyle::Dot
  • PenStyle::DashDot
  • PenStyle::DashDotDot
  • PenStyle::Null
  • PenStyle::InsideFram

A side.

One of the following values:

  • Side::Left
  • Side::Top
  • Side::Right
  • Side::Bottom

A set of sides.

Zero or more of the following values:

  • Sides::Left
  • Sides::Top
  • Sides::Right
  • Sides::Bottom

System mouse cursors.

See also:
Cursor::Cursor(SysCursor)

Horizontal alignment.

One of the following values:

  • TextAlign::Left (default)
  • TextAlign::Center
  • TextAlign::Right

typedef unsigned int Vaca::ThreadId

An identifier for a Thread.

Vertical alignment.

One of the following values:

  • VerticalAlign::Top
  • VerticalAlign::Middle
  • VerticalAlign::Bottom

It indicates a place inside a Widget which the mouse cursor could be.

One of the following values:

  • WidgetHitTest::Error
  • WidgetHitTest::Transparent
  • WidgetHitTest::Nowhere
  • WidgetHitTest::Client
  • WidgetHitTest::Caption
  • WidgetHitTest::SystemMenu
  • WidgetHitTest::Size
  • WidgetHitTest::Menu
  • WidgetHitTest::HorizontalScroll
  • WidgetHitTest::VerticalScroll
  • WidgetHitTest::MinimizeButton
  • WidgetHitTest::MaximizeButton
  • WidgetHitTest::Left
  • WidgetHitTest::Right
  • WidgetHitTest::Top
  • WidgetHitTest::TopLeft
  • WidgetHitTest::TopRight
  • WidgetHitTest::Bottom
  • WidgetHitTest::BottomLeft
  • WidgetHitTest::BottomRight
  • WidgetHitTest::Border
  • WidgetHitTest::Object
  • WidgetHitTest::Close
  • WidgetHitTest::Help


Enumeration Type Documentation

anonymous enum

Enumerator:
BixTypeMask 
BixRow 
BixCol 
BixMat 
BixEvenX 
BixEvenY 
BixEven 
BixFillX 
BixFillY 
BixFill 

Enumerator:
DataGrid_Bool 
DataGrid_Int 
DataGrid_Float 
DataGrid_String 


Function Documentation

struct __vaca_trace_s Vaca::__make_trace ( LPCSTR  filename,
UINT  line 
) [read]

void VACA_DLL Vaca::__vaca_close_log_file (  ) 

Widget *VACA_DLL Vaca::__vaca_get_outside_widget (  ) 

void VACA_DLL Vaca::__vaca_remove_all_thread_data (  ) 

void VACA_DLL Vaca::__vaca_set_outside_widget ( Widget widget  ) 

void VACA_DLL Vaca::__vaca_trace ( LPCSTR  filename,
UINT  line,
LPCSTR  fmt,
  ... 
)

template<typename R, typename T, typename T2, typename B1, typename B2, typename B3, typename X1, typename X2, typename X3>
BindAdapter3_mem<R, T, B1, B2, B3, X1, X2, X3> Vaca::Bind ( R(T::*)(B1, B2, B3)  m,
T2 *  t,
X1  x1,
X2  x2 
) [inline]

See also:
Bind

template<typename R, typename F, typename X1, typename X2, typename X3>
BindAdapter3_fun<R, F, X1, X2, X3> Vaca::Bind ( const F &  f,
X1  x1,
X2  x2,
X3  x3 
) [inline]

See also:
Bind

template<typename R, typename T, typename T2, typename B1, typename B2, typename X1, typename X2>
BindAdapter2_mem<R, T, B1, B2, X1, X2> Vaca::Bind ( R(T::*)(B1, B2)  m,
T2 *  t,
X1  x1,
X2  x2 
) [inline]

See also:
Bind

template<typename R, typename F, typename X1, typename X2>
BindAdapter2_fun<R, F, X1, X2> Vaca::Bind ( const F &  f,
X1  x1,
X2  x2 
) [inline]

See also:
Bind

template<typename R, typename T, typename T2, typename B1, typename X1>
BindAdapter1_mem<R, T, B1, X1> Vaca::Bind ( R(T::*)(B1)  m,
T2 *  t,
X1  x1 
) [inline]

See also:
Bind

template<typename R, typename F, typename X1>
BindAdapter1_fun<R, F, X1> Vaca::Bind ( const F &  f,
X1  x1 
) [inline]

See also:
Bind

template<typename R, typename T, typename T2>
BindAdapter0_mem<R, T> Vaca::Bind ( R(T::*)()  m,
T2 *  t 
) [inline]

See also:
Bind

template<typename R, typename F>
BindAdapter0_fun<R, F> Vaca::Bind ( const F &  f  )  [inline]

See also:
Bind

void VACA_DLL Vaca::delete_widget ( Widget widget  ) 

Safe way to delete a widget from memory.

It deletes the specified widget if it isn't referenced, or defer its deletion for a secure point of deletion (e.g. when it's completelly unreferenced after an event is processed).

See also:
TN006: Deleting a Widget inside its event

template<class T>
bool Vaca::operator!= ( const SmartPtr< T > &  ptr1,
const SmartPtr< T > &  ptr2 
) [inline]

Compares if two smart-pointers points to different places (objects, memory addresses).

See also:
SmartPtr

String Vaca::operator+ ( const wchar_t *  _s1,
const String &  _s2 
) [inline]

Concatenate a C string with wide-characters and a String.

With this you can do:

 String res = _T("...") + String("...");

Returns:
A new string.

String Vaca::operator+ ( const char *  _s1,
const String &  _s2 
) [inline]

Concatenate a normal C string and a String.

With this you can do:

 String res = "..." + String("...");

Returns:
A new string.

String Vaca::operator+ ( const String &  _s1,
const wchar_t *  _s2 
) [inline]

Concatenate a String with a C string with wide-characters.

With this you can do:

 String res = String("...") + _T("...");

Returns:
A new string.

String Vaca::operator+ ( const String &  _s1,
const char *  _s2 
) [inline]

Concatenate a String with a normal C string.

With this you can do:

 String res = String("...") + "...";

Returns:
A new string.

template<class T>
bool Vaca::operator== ( const SmartPtr< T > &  ptr1,
const SmartPtr< T > &  ptr2 
) [inline]

Compares if two smart-pointers points to the same place (object, memory address).

See also:
SmartPtr

template<class T>
RefWrapper<T> Vaca::Ref ( T &  ref  )  [inline]

Creates RefWrappers, useful to wrap arguments that have to be passed as a reference when you use Bind.

See also:
Bind

template<typename ContainerType>
void Vaca::remove_from_container ( ContainerType &  container,
typename ContainerType::const_reference  element 
) [inline]

Removes an element from the specified STL container.

This routine removes the first ocurrence of element in container. It is just a helper function to avoid cryptic STL code.

Template Parameters:
ContainerType A STL container type.
Parameters:
container The container to be modified.
element The element to be removed from the container.