IGLib  1.5
The IGLib base library for development of numerical, technical and business applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events
IG.Lib.RegisterableExamples.ExampleIIdentifiable Class Reference

Example implementation of IIdentifiable interface. More...

+ Inheritance diagram for IG.Lib.RegisterableExamples.ExampleIIdentifiable:
+ Collaboration diagram for IG.Lib.RegisterableExamples.ExampleIIdentifiable:

Public Member Functions

 ExampleIIdentifiable (string str)
 
override string ToString ()
 

Protected Attributes

string _msg
 

Properties

virtual int Id [get]
 Returns unique Id (in the scope of a given type) of the current object. Method is defined as virtual so that derived class can have its own IDs by defining its own static Identifiable.Generator object. More...
 
- Properties inherited from IG.Lib.IIdentifiable
int Id [get]
 Returns unique ID (in the scope of a given type) of the current object. More...
 

Private Attributes

IIdentifiable _idProxy = new IdProxy(_idGenerator)
 Proxy object that implements the IIdentifiable interface for this object. More...
 

Static Private Attributes

static IdGenerator _idGenerator = new IdGenerator(1 )
 Static object that generates IDs for this class: More...
 

Detailed Description

Example implementation of IIdentifiable interface.

Constructor & Destructor Documentation

IG.Lib.RegisterableExamples.ExampleIIdentifiable.ExampleIIdentifiable ( string  str)
inline

Member Function Documentation

override string IG.Lib.RegisterableExamples.ExampleIIdentifiable.ToString ( )
inline

Member Data Documentation

string IG.Lib.RegisterableExamples.ExampleIIdentifiable._msg
protected
IdGenerator IG.Lib.RegisterableExamples.ExampleIIdentifiable._idGenerator = new IdGenerator(1 )
staticprivate

Static object that generates IDs for this class:

IIdentifiable IG.Lib.RegisterableExamples.ExampleIIdentifiable._idProxy = new IdProxy(_idGenerator)
private

Proxy object that implements the IIdentifiable interface for this object.

Property Documentation

virtual int IG.Lib.RegisterableExamples.ExampleIIdentifiable.Id
get

Returns unique Id (in the scope of a given type) of the current object. Method is defined as virtual so that derived class can have its own IDs by defining its own static Identifiable.Generator object.


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