- Main Page
- Classes
- Directories
- Related Pages

- Class List
- Class Hierarchy
- Class Members

# TclGuid Class Reference

Generates unique identifiers. More...

`#include <tcl_guid.h>`

List of all members.

## Public Member Functions

const string & | getId () const
| Return id.
| TclGuid ()
| Create new instance with unique id.
TclGuid & | operator= (const TclGuid &guid)
| Comparator.

## Static Public Member Functions

static TclGuid & | forceGuid (const string &id)

## Detailed Description

Generates unique identifiers.

Contains static int counter, which is increased by one whenever new instance is created

Date:
  01-11-2006

Author:
  Ondrej Svejdar

Todo:

Bug:

## Member Function Documentation

static TclGuid& TclGuid::forceGuid | ( | const string & | id | ) | `[inline, static]`

| Create new unique identifier with specific value, potentionaly unsafe, use only if you absolutly know what you do.

Parameters:

  | id | specific value

Returns:
  reference to newly created TkGuid

const string& TclGuid::getId | ( |  | ) | const`[inline]`

| Return id.

Returns:
  unique identifier

TclGuid& TclGuid::operator= | ( | const TclGuid & | guid | ) | `[inline]`

| Comparator.

Parameters:

  | guid | reference to TclGuid

Returns:
  true if ids are equal

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

- H:/projs/dotNET/eda/src/tk/tcl_guid.h
- H:/projs/dotNET/eda/src/tk/tcl_guid.cpp