12#include <initializer_list>
21typedef unsigned char byte;
44 PDCEDT(std::initializer_list<byte> il);
51 const byte *
operator=(std::initializer_list<byte> il);
52 const byte *
setEDT(
const byte edt[],
int size);
53 const byte *
setEDT(std::initializer_list<byte> il);
58 const byte *
getEDT()
const;
61 operator byte *()
const;
67 void print(
void)
const;
EL Object
Definition: ELOBJ.h:75
const PDCEDT SetPDCEDT(const byte epc, const PDCEDT pdcedt)
EPCに対して、PDCEDTのを結びつける(セットと更新)
Definition: ELOBJ.cpp:371
void printAll() const
null以外のEPCを全部出力
Definition: ELOBJ.cpp:601
const PDCEDT SetMyPropertyMap(const byte epc, std::initializer_list< byte > epcs)
PropertyMap(0x9d, 0x9e, 0x9f)を計算してPDCとEDTを設定する
Definition: ELOBJ.cpp:404
virtual ~ELOBJ()
デストラクタ
Definition: ELOBJ.cpp:348
ELOBJ()
コンストラクタ
Definition: ELOBJ.cpp:339
const byte * GetMyPropertyMap(const byte epc) const
PropertyMap(0x9d, 0x9e, 0x9f)を計算して 個数 + EPCsの形で返す(個数はPDCではないことに注意)
Definition: ELOBJ.cpp:454
const bool hasGetProperty(const byte epc) const
指定のEPCがGet可能かどうか
Definition: ELOBJ.cpp:567
const bool hasSetProperty(const byte epc) const
指定のEPCがSet可能かどうか
Definition: ELOBJ.cpp:539
PDCEDT m_pdcedt[PDC_MAX]
= m_pdcedt[EPC] (EPC mapped( EPC - 0x80 = 0.. 0xFF = 0x80 );
Definition: ELOBJ.h:79
const bool hasInfProperty(const byte epc) const
指定のEPCがINF必須かどうか
Definition: ELOBJ.cpp:508
const PDCEDT operator[](const byte epc) const
配列らしいインターフェイス,const this
Definition: ELOBJ.cpp:577
static const byte PDC_MAX
PDC_MAX 0xFF - 0x79
Definition: ELOBJ.h:78
const PDCEDT GetPDCEDT(const byte epc) const
キー文字列からデータ取得
Definition: ELOBJ.cpp:359
PDC and EDT in ELOBJ
Definition: ELOBJ.h:35
const bool isNull() const
Nullかどうか
Definition: ELOBJ.cpp:278
virtual ~PDCEDT()
デストラクタ
Definition: ELOBJ.cpp:72
void print(void) const
デバグ用の標準出力
Definition: ELOBJ.cpp:289
const PDCEDT operator=(const PDCEDT val)
operator=
Definition: ELOBJ.cpp:90
const bool isEmpty() const
設定されているかどうか
Definition: ELOBJ.cpp:265
byte * m_pdcedt
PDC(1 Byte) + EDT(n Byte)
Definition: ELOBJ.h:37
PDCEDT()
コンストラクタ
Definition: ELOBJ.cpp:15
byte length
length for m_pdcedt
Definition: ELOBJ.h:38
const byte getPDC() const
PDC getter
Definition: ELOBJ.cpp:242
const byte * setEDT(const byte edt[], int size)
EDT setter
Definition: ELOBJ.cpp:205
const byte * getEDT() const
EDT getter
Definition: ELOBJ.cpp:253
const byte getLength() const
PDCEDT Length getter
Definition: ELOBJ.cpp:231
byte * pdcedt
Definition: main.cpp:56