SDC C-Project CF Review 프로그램
LYW
2021-09-23 c77236e1522caa3e2082dd7b5b32f6c30b125172
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#pragma once
 
#include <vector>
#include "CHReviewSetting/HeaderInfo.h"
 
typedef std::vector<CHeaderInfo> VectorHeaderInfo;
typedef std::vector<CHeaderInfo>::iterator VectorHeaderInfoIt;
 
class AFX_EXT_CLASS CGantryInfo
{
public:
    CGantryInfo(void);
    virtual ~CGantryInfo(void);
 
public:
    void Reset();
    
    // getter
    void                GetInfo(CGantryInfo& rhs);
    int                    GetHeaderInfoCount() const                    { return (int)m_vecHeaderInfo.size(); }
    CHeaderInfo*        GetHeaderInfo(int nIndex);
    const CHeaderInfo*    GetHeaderInfo(int nIndex) const;
 
    // setter
    void                SetInfo(const CGantryInfo& rhs);
    void                SetHeaderInfoCount(int nCount)                { m_vecHeaderInfo.resize(nCount); }
 
public:
    BOOL                m_bStandardGantry;
    int                    m_nGantryType;
    CString                m_strXAxisName;
    double                m_dCollisionDistance;
 
protected:
    VectorHeaderInfo    m_vecHeaderInfo;
};