15 #ifndef TSA_DBRECORD__INCLUDED 16 #define TSA_DBRECORD__INCLUDED 60 std::vector<variant> fields;
78 record(
size_t num_fields);
84 void operator= (fast::db_record* record);
96 size_t size(
void)
const;
104 const variant& operator[](
size_t position)
const;
112 variant& operator[](
size_t position);
126 void print(std::ostream& stream);
141 tsa_declare_testable;
142 std::vector<record*> m_records;
146 void deinitialize_records(
void);
147 void register_record(
class record*);
148 void deregister_record(
class record*);
149 virtual class record record(void) = 0;
151 virtual size_t column_count(
void)
const = 0;
Set this flag to force the system to automatically fix duplicate timstamps, by setting the new record...
Definition: TSADBRecord.h:40
append_flag_type
Values that represent append flag types.
Definition: TSADBRecord.h:32
Throw an exception when a duplicate timestamp is encountered. This is normally the default behaviour...
Definition: TSADBRecord.h:36
Namespace for the 'Trading System API' library.
Definition: original1.TSA3Core.cpp:20
Supports 'write', 'update', 'delete', and 'read' operations on series_base tables.
variant objects can represent values of different types.
Definition: TSAVariant.h:140
Class representing a database record.
Definition: TSADBRecord.h:52
Class representing a gregorian-date and time-of-day combination. The time component has microsecond r...
Definition: TSATime.h:428
Represents an object to which a record object can be appended.
Definition: TSADBRecord.h:140
Class mem_table represents a memory based table. mem_table objects can be used in strategies both for...
Definition: TSAMemTable.h:48