TT CORE SDK 2.0.1.1
TT CORE SDK documentation
Loading...
Searching...
No Matches
customer_profile.h
Go to the documentation of this file.
1/***************************************************************************
2 *
3 * Unpublished Work Copyright (c) 2022-2023
4 * Trading Technologies International, Inc.
5 * All Rights Reserved Worldwide
6 *
7 * * * * S T R I C T L Y P R O P R I E T A R Y * * *
8 *
9 * WARNING: This program (or document) is unpublished, proprietary property
10 * of Trading Technologies International, Inc. and is to be maintained in
11 * strict confidence. Unauthorized reproduction, distribution or disclosure
12 * of this program (or document), or any program (or document) derived from
13 * it is prohibited by State and Federal law, and by local law outside of
14 * the U.S.
15 *
16 ***************************************************************************/
17#pragma once
18#include <stddef.h>
19#include "shared_ptr.h"
20
21namespace ttsdk
22{
24 {
25 public:
26
27 virtual ~CustomerProfile() = default;
28
29 virtual uint64_t GetId() const = 0;
30 virtual uint64_t GetCompanyId() const = 0;
31 virtual const char* GetName() const = 0;
32
33 protected:
34
35 CustomerProfile() = default;
36
39 };
40
42
44 {
45 public:
46
47 virtual ~CustomerProfileCollection() = default;
48
49 virtual size_t GetCount() const = 0;
50 virtual CustomerProfilePtr GetCustomerProfile(const uint32_t index) const = 0;
51 virtual CustomerProfilePtr GetCustomerProfile(const char* const name) const = 0;
52
53 protected:
54
56
59
62 };
63
65}
CustomerProfileCollection(CustomerProfileCollection &&)=delete
CustomerProfileCollection & operator=(CustomerProfileCollection &&)=delete
CustomerProfileCollection & operator=(const CustomerProfileCollection &)=delete
virtual size_t GetCount() const =0
virtual CustomerProfilePtr GetCustomerProfile(const char *const name) const =0
virtual CustomerProfilePtr GetCustomerProfile(const uint32_t index) const =0
virtual ~CustomerProfileCollection()=default
CustomerProfileCollection(const CustomerProfileCollection &)=delete
virtual const char * GetName() const =0
CustomerProfile(CustomerProfile &&)=delete
CustomerProfile & operator=(CustomerProfile &&)=delete
virtual uint64_t GetId() const =0
virtual uint64_t GetCompanyId() const =0
virtual ~CustomerProfile()=default