-
Notifications
You must be signed in to change notification settings - Fork 11
/
IsoItemCode.h
42 lines (34 loc) · 934 Bytes
/
IsoItemCode.h
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
37
38
39
40
41
42
/**
* IsoAlgo - piping Isometric drawing generation Algorithm.
* Copyright (C) 2013 to current year Shing Liu
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
* Homepage:
* http://www.cppblog.com/eryar/
*
* Feedback:
*/
#ifndef _ISOITEMCODE_H_
#define _ISOITEMCODE_H_
#include "IsoAlgoAbs.h"
namespace IsoAlgo
{
class IsoItemCode
{
public:
IsoItemCode(const std::string& theCode);
~IsoItemCode(void);
const std::string& GetCode(void) const;
void AddAttribute(const std::string& theKey, const std::string& theValue);
private:
std::string myCode;
std::string myNullString;
std::map<std::string, std::string> myAttributes;
};
}
#endif // _ISOITEMCODE_H_