Former-commit-id:a02aeb236c
[formerly9f19e3f712
] [formerlya02aeb236c
[formerly9f19e3f712
] [formerly06a8b51d6d
[formerly 64fa9254b946eae7e61bbc3f513b7c3696c4f54f]]] Former-commit-id:06a8b51d6d
Former-commit-id:8e80217e59
[formerly3360eb6c5f
] Former-commit-id:377dcd10b9
56 lines
1.5 KiB
C++
56 lines
1.5 KiB
C++
//------------------------------------------------------------------------------
|
|
// TSList - Container for as list of TS objects.
|
|
//------------------------------------------------------------------------------
|
|
// Copyright: See the COPYRIGHT file.
|
|
//------------------------------------------------------------------------------
|
|
// Notes:
|
|
//
|
|
//------------------------------------------------------------------------------
|
|
// History:
|
|
//
|
|
// 01 Apr 1998 Daniel K. Weiler, Riverside Technology, inc
|
|
// Created initial version.
|
|
// 03 Jun 1998 DKW Overloaded to take input or output flags
|
|
//------------------------------------------------------------------------------
|
|
// Variables: I/O Description
|
|
//
|
|
//
|
|
//------------------------------------------------------------------------------
|
|
|
|
#ifndef TSList_INCLUDED
|
|
#define TSList_INCLUDED
|
|
|
|
#include "resj/TS.h"
|
|
|
|
class TSList
|
|
{
|
|
public:
|
|
|
|
static int addTSToList( TS* );
|
|
// Adds a TS pointer to the
|
|
// maintained list.
|
|
|
|
static int addTSToList( TS*, char* );
|
|
// Adds a TS pointer to the
|
|
// maintained list and interprets
|
|
// "input", "in", "output", or
|
|
// "out" strings into flags
|
|
static void DeleteTSList();
|
|
// frees the memory associated
|
|
// with the _ts_list.
|
|
|
|
static int getNumTS(); // returns _num_ts.
|
|
|
|
static TS* getTSFromList( char* );
|
|
// Get the TS pointer from _ts_list
|
|
// for the char* identifier or alias
|
|
|
|
static TS **_ts_list; // List of TS object pointers.
|
|
|
|
static int _num_ts; // number of TS pointers
|
|
// in _ts_list.
|
|
static int* _io_flags;
|
|
|
|
};
|
|
|
|
#endif
|