summaryrefslogtreecommitdiff
path: root/public/mdlobjects/dmemdllist.h
blob: aa2bf0bb4c5c8071d2e46de3061f8785d6202932 (plain) (blame)
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
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// A Dme element intended to be a base class for a common pattern of
// MDLOBJECTS, that is an element which contains simply one attribute
// of type AT_ELEMENTARRAY
//
//===========================================================================//


#ifndef DMEMDLLIST_H
#define DMEMDLLIST_H


#ifdef _WIN32
#pragma once
#endif


#include "datamodel/dmattributevar.h"
#include "datamodel/dmelement.h"


//-----------------------------------------------------------------------------
// A base class intended to be used for the common pattern in MDLOBJECTS
// of an element which is nothing but a container for an array of element
// attributes
//-----------------------------------------------------------------------------
class CDmeMdlList : public CDmElement
{
	DEFINE_ELEMENT( CDmeMdlList, CDmElement );

public:
	virtual CDmAttribute *GetListAttr() { return NULL; }

};


#endif // DMEMDLLIST_H