Inheritance diagram for Server.UniquelyIdentifiable:

Public Member Functions | |
| UniquelyIdentifiable (int id) | |
| When inherited from, this abstract class represents an unique ID. | |
Static Public Member Functions | |
| static void | Reset () |
| Resets the ID counter (NEVER DO THIS UNLESS TESTING or DEBUGGING!) (please) :). | |
Properties | |
| static int | NextID [get] |
| Return the value of the next ID to be assigned. | |
| int | ID [get] |
| Return a new ID and add 1 to the static NextID variable. | |
Private Member Functions | |
| int | Next (int h) |
Private Attributes | |
| int | id |
Static Private Attributes | |
| static int | nextID = 0 |
Definition at line 11 of file UniquelyIdentifiable.cs.
| Server.UniquelyIdentifiable.UniquelyIdentifiable | ( | int | id | ) |
When inherited from, this abstract class represents an unique ID.
| id | An unique ID number. |
Definition at line 20 of file UniquelyIdentifiable.cs.
References Server.UniquelyIdentifiable.Next().
Here is the call graph for this function:

| static void Server.UniquelyIdentifiable.Reset | ( | ) | [static] |
Resets the ID counter (NEVER DO THIS UNLESS TESTING or DEBUGGING!) (please) :).
Definition at line 35 of file UniquelyIdentifiable.cs.
References Server.UniquelyIdentifiable.nextID.
int Server.UniquelyIdentifiable.NextID [static, get] |
Return the value of the next ID to be assigned.
Definition at line 29 of file UniquelyIdentifiable.cs.
int Server.UniquelyIdentifiable.ID [get] |
Return a new ID and add 1 to the static NextID variable.
Definition at line 52 of file UniquelyIdentifiable.cs.
Referenced by Server.Catalogue.CreateProject(), Server.Data.BinaryData.LoadData(), Server.Data.XmlData.LoadLiterature(), Server.Data.XmlData.LoadProjects(), and Server.Data.BinaryData.SerializeComment().
1.5.1-p1