|
Library Initialization
C/C++
DG_HANDLE InitLibrary(char *LibraryLocation, char *LibraryItem)
C#/VBA/scripts
int InitLibrary(string LibraryLocation, string LibraryItem)
'LibraryLocation' is a full or relative path to the file contains
Values Library.
'LibraryItem' specifies list of values. See table below for
acceptable options.
Generate value
C/C++
char* LibraryValue(DG_HANDLE handle,int sequentially)
C#/VBA/scripts
string LibraryValue(int handle,int sequentially)
Not 0 'sequentially' value means the function will return values
from the library item sequentially, random otherwise.
Default Values library contains at least following items:
| Item Name |
Description |
| Colors |
English colors (145 items) |
| Names |
Sample full names (about 380 items) |
| Occupations |
|
| LastNames |
List of sample last names |
| departments |
Typical departments |
| Industries |
List of industries |
| CurrencyCodes |
World currency codes (3 symbols) |
| monthes |
English months list |
| companies |
The list of about 680 most known companies |
| FemaleFirstNames |
Female names |
| MaleFirstNames |
Male names |
| EuropeanCities |
List of European cities |
| EuropeanCountries |
List of European countries |
| EuropeanCapitals |
List of capitals of European countries |
| Countries |
World countries list |
| region |
World regions |
| US_ZipCodes |
ZIP codes (USA) |
| US_States |
List of US states |
| US_StateCapitals |
List of US state's capitals |
Note: all DTM Data Generator customers can create own
library or modify default library with Library Builder and included
sources. |