BusBoy  2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
BUSBOY::DataKeyBuilder Class Reference

Use this class to build up a key step-by-step. More...

#include <DataKeyBuilder.h>

Public Member Functions

 DataKeyBuilder ()
 
 DataKeyBuilder (const DataKeyBuilder &builder)
 Copy from an existing builder. More...
 
void addElement (const DataKeyElement &element)
 Add a single element. More...
 
void addElements (const std::set< DataKeyElement > &elements)
 Add multiple elements. More...
 
void addAllElements (const DataKey &key)
 Add all the elements in the key. More...
 
DataKey toKey () const
 Create a key from the elements that have been added. More...
 
 ~DataKeyBuilder ()
 
DataKeyBuilderoperator= (const DataKeyBuilder &builder)
 Copy from an existing builder. More...
 

Detailed Description

Use this class to build up a key step-by-step.

Constructor & Destructor Documentation

BUSBOY::DataKeyBuilder::DataKeyBuilder ( )
BUSBOY::DataKeyBuilder::DataKeyBuilder ( const DataKeyBuilder builder)

Copy from an existing builder.

New builder starts with the same set of elements as its source.

BUSBOY::DataKeyBuilder::~DataKeyBuilder ( )

Member Function Documentation

void BUSBOY::DataKeyBuilder::addAllElements ( const DataKey key)

Add all the elements in the key.

void BUSBOY::DataKeyBuilder::addElement ( const DataKeyElement element)

Add a single element.

void BUSBOY::DataKeyBuilder::addElements ( const std::set< DataKeyElement > &  elements)

Add multiple elements.

DataKeyBuilder & BUSBOY::DataKeyBuilder::operator= ( const DataKeyBuilder builder)

Copy from an existing builder.

This builder starts with the same set of elements as its source. Any elements previously added to this builder are removed

DataKey BUSBOY::DataKeyBuilder::toKey ( ) const

Create a key from the elements that have been added.


The documentation for this class was generated from the following files:

Copyright 2014 Google Inc. All rights reserved.