Zen
A cross-platform functional programming language

dictbase< derT, K, V >::creator Class Reference

Class to create and populate a dict instance. More...

#include <zbl.hpp>

List of all members.

Public Member Functions

 creator ()
 Default constructor.
creatoradd (const K &key, const V &val)
 Insert a key-value pair in the dictionary.
derT & value ()
 Returns a reference to the dictionary being created.

Private Attributes

derT _list
 The dictionary being created.

Detailed Description

template<typename derT, typename K, typename V>
class z::dictbase< derT, K, V >::creator

Class to create and populate a dict instance.


Member Function Documentation

creator& add ( const K &  key,
const V &  val 
) [inline]

Insert a key-value pair in the dictionary.

Parameters:
keyKey to add
valValue to add
Returns:
Reference to self
derT& value ( ) [inline]

Returns a reference to the dictionary being created.

Returns:
Reference to dictionary

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines