Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
981 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // A Dme element intended to be a base class for a common pattern of
  4. // MDLOBJECTS, that is an element which contains simply one attribute
  5. // of type AT_ELEMENTARRAY
  6. //
  7. //===========================================================================//
  8. #ifndef DMEMDLLIST_H
  9. #define DMEMDLLIST_H
  10. #ifdef _WIN32
  11. #pragma once
  12. #endif
  13. #include "datamodel/dmattributevar.h"
  14. #include "datamodel/dmelement.h"
  15. //-----------------------------------------------------------------------------
  16. // A base class intended to be used for the common pattern in MDLOBJECTS
  17. // of an element which is nothing but a container for an array of element
  18. // attributes
  19. //-----------------------------------------------------------------------------
  20. class CDmeMdlList : public CDmElement
  21. {
  22. DEFINE_ELEMENT( CDmeMdlList, CDmElement );
  23. public:
  24. virtual CDmAttribute *GetListAttr() { return NULL; }
  25. };
  26. #endif // DMEMDLLIST_H