18 lines
430 B
C
18 lines
430 B
C
|
#pragma once
|
||
|
#include "OperatorCondition.h"
|
||
|
|
||
|
class TWSAPIDLLEXP ContractCondition : public OperatorCondition {
|
||
|
int m_conId;
|
||
|
std::string m_exchange;
|
||
|
|
||
|
public:
|
||
|
virtual std::string toString();
|
||
|
virtual const char* readExternal(const char* ptr, const char* endPtr);
|
||
|
virtual void writeExternal(std::ostream &out) const;
|
||
|
|
||
|
int conId();
|
||
|
void conId(int conId);
|
||
|
std::string exchange();
|
||
|
void exchange(const std::string &exchange);
|
||
|
};
|