Difference between revisions of "IXTdata source"
Jump to navigation
Jump to search
m |
|||
Line 3: | Line 3: | ||
The elements of the object are as follows: | The elements of the object are as follows: | ||
− | {| | + | {| {{Tablestyle}} |
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
− | | | + | ! {{Headcellstyle}} | Element |
+ | !{{Headcellstyle}} | Type | ||
+ | ! {{Headcellstyle}} | Description | ||
|- | |- | ||
− | | | + | | '''path (:)''' |
+ | | char (allocatable) | ||
+ | | file path to data file | ||
|- | |- | ||
− | | counter | + | | ''' datatype (:)''' |
+ | | char (allocatable) | ||
+ | | type of data being stored in file | ||
+ | |- | ||
+ | | '''counter''' | ||
+ | | int | ||
+ | | the number of items stored in the object | ||
|} | |} | ||
Line 29: | Line 35: | ||
The following operations may be performed on this data type: | The following operations may be performed on this data type: | ||
− | *[General Operations] | + | *[[General Operations]] |
− | *[Special Subroutines] | + | *[[Special Subroutines]] |
Class Specific Operations | Class Specific Operations | ||
− | * [IXFadditem_data_source] | + | * [[IXFadditem_data_source]] |
− | * [IXFdelitem_dat_source] | + | * [[IXFdelitem_dat_source]] |
− | * [IXFfindpath_data_source] | + | * [[IXFfindpath_data_source]] |
Revision as of 14:39, 31 March 2008
The IXTdata_source object is designed to store the path of specific files (.txt .nvs .xml etc.) which can be used to populate any object in the data structure. Or even to store characteristics such as the type of instrument being populated (in this instance the path variable is irrelevant).
The elements of the object are as follows:
Element | Type | Description |
---|---|---|
path (:) | char (allocatable) | file path to data file |
datatype (:) | char (allocatable) | type of data being stored in file |
counter | int | the number of items stored in the object |
F90 syntax
use IXMdata_source type(IXTdata_source):: dso type(IXTstatus):: status
The following operations may be performed on this data type:
Class Specific Operations