Difference between revisions of "IXTdata source"

From LIBISIS
Jump to navigation Jump to search
m
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
 
The elements of the object are as follows:
 
The elements of the object are as follows:
  
{| border ="1" cellpadding="2"
+
{| {{Tablestyle}}
|+ '''IXTdata_source definition'''
 
!width="10%"|Element
 
!width="20%"|Type
 
!width="70%"|Brief Description
 
 
|-
 
|-
|   path (:)    || char (allocatable) || file path to data file
+
! {{Headcellstyle}} | Element
 +
!{{Headcellstyle}} | Type
 +
! {{Headcellstyle}} | Description
 
|-
 
|-
datatype (:)   || char (allocatable) || type of data being stored in file
+
'''path (:)'''
 +
| char (allocatable)
 +
| file path to data file
 
|-
 
|-
|  counter || int || the number of items stored in the object
+
| ''' datatype (:)'''
 +
| char (allocatable)
 +
| type of data being stored in file
 +
|-
 +
| '''object_name(:)'''
 +
| char (allocatable)
 +
| name of object
 +
|-
 +
'''counter'''
 +
| int
 +
| the number of items stored in the object
 
|}
 
|}
  
Line 29: Line 39:
  
 
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]]

Latest revision as of 13:47, 4 August 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
object_name(:) char (allocatable) name of object
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