// DIMEOptions.h: interface for the DIMEOptions class.
//
//
//////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2002 Robert Cunnings. All rights reserved.
//
// You may copy, modify, distribute or publish this code free of charge.
//
// NO WARRANTY: This software is provided AS IS, without warranty of any kind.
//
//////////////////////////////////////////////////////////////////////
//
// DIMEOptions class - a class for encapsulating zero or more DIME "options".
// 
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_DIMEOPTIONS_H__CE664AFE_9841_4FCF_9368_37A155603AB9__INCLUDED_)
#define AFX_DIMEOPTIONS_H__CE664AFE_9841_4FCF_9368_37A155603AB9__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class DIMEOption  
{
public:
	DIMEOption();
	DIMEOption( unsigned long ulType,
				unsigned long ulLength,
				unsigned char *pData);
	virtual ~DIMEOption();

	unsigned GetType() { return m_ulElementType; }
	unsigned GetLength() { return m_ulElementLength; }
	unsigned char *GetData() { return m_pData; }

protected:

	unsigned long	m_ulElementType;
	unsigned long	m_ulElementLength;
	unsigned char	*m_pData;

};

#endif // !defined(AFX_DIMEOPTIONS_H__CE664AFE_9841_4FCF_9368_37A155603AB9__INCLUDED_)
