CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
SmCustomProperty.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2024, Open Design Alliance (the "Alliance").
3// All rights reserved.
4//
5// This software and its documentation and related materials are owned by
6// the Alliance. The software may only be incorporated into application
7// programs owned by members of the Alliance, subject to a signed
8// Membership Agreement and Supplemental Software License Agreement with the
9// Alliance. The structure and organization of this software are the valuable
10// trade secrets of the Alliance and its suppliers. The software is also
11// protected by copyright law and international treaty provisions. Application
12// programs incorporating this software must include the following statement
13// with their copyright notices:
14//
15// This application incorporates Open Design Alliance software pursuant to a license
16// agreement with Open Design Alliance.
17// Open Design Alliance Copyright (C) 2002-2024 by Open Design Alliance.
18// All rights reserved.
19//
20// By use of this software, its documentation or related materials, you
21// acknowledge and accept the above terms.
23
24
25
26
27#ifndef _SmCustomProperty_h_Included_
28#define _SmCustomProperty_h_Included_
29
30#include "Sm/SmPersist.h"
31#define STL_USING_STRING
32#include "OdaSTL.h"
33#include <RxObject.h>
34#include <RxVariant.h>
35#include "Sm/SmExport.h"
36
41namespace dst
42{
51
57 {
59 virtual OdVariant getValue() const = 0;
60 virtual void setValue(const OdVariant& value) = 0;
61 virtual PropertyFlags getFlags() const = 0;
62 virtual void setFlags(PropertyFlags value) = 0;
63 };
65
70 struct OdSmEnumCustomPropertyValue : public OdRxObject
71 {
72 virtual bool next(OdString& propname, const OdSmCustomPropertyValue*& ppValue) = 0;
73 virtual void reset() = 0;
74 };
76
90}
91
92#endif
#define SMDLL_EXPORT
Definition SmExport.h:35
GLuint const GLchar * name
Definition gles2_ext.h:265
GLsizei const GLfloat * value
Definition gles2_ext.h:302
OdSmartPtr< OdSmCustomPropertyValue > OdSmCustomPropertyValuePtr
OdSmartPtr< OdSmEnumCustomPropertyValue > OdSmEnumCustomPropertyValuePtr
OdSmartPtr< OdSmCustomPropertyBag > OdSmCustomPropertyBagPtr
@ CUSTOM_SHEETSET_PROP
@ CUSTOM_SUBSET_PROP
@ CUSTOM_SHEET_PROP
virtual OdSmEnumCustomPropertyValuePtr getPropertyEnumerator() const =0
virtual const OdSmCustomPropertyValue * getProperty(const OdString &name) const =0
ODRX_DECLARE_MEMBERS(OdSmCustomPropertyBag)
virtual void setProperty(const OdString &name, OdSmCustomPropertyValue *value)=0
virtual bool removeProperty(const OdString &name)=0
virtual void setFlags(PropertyFlags value)=0
virtual OdVariant getValue() const =0
virtual PropertyFlags getFlags() const =0
ODRX_DECLARE_MEMBERS(OdSmCustomPropertyValue)
virtual void setValue(const OdVariant &value)=0
virtual bool next(OdString &propname, const OdSmCustomPropertyValue *&ppValue)=0