HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
STY_SubjectGroup.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: STY_SubjectGroup.h ( STY Library, C++)
7  *
8  * COMMENTS:
9  */
10 
11 #ifndef __STY_SubjectGroup__
12 #define __STY_SubjectGroup__
13 
14 #include "STY_API.h"
15 #include <UT/UT_UniquePtr.h>
16 
17 class STY_Subject;
18 
19 /// Represents a collection of STY_Subjects in a single class. This is used
20 /// by the multi-subject member functions of STY_Styler.
22 {
23 public:
24  virtual ~STY_SubjectGroup();
25 
26  /// Returns the number of subjects in this group.
27  virtual int getNumSubjects() const = 0;
28  /// Returns a subject by index.
29  virtual const STY_Subject &getSubject(int idx) const = 0;
30 };
31 
32 #endif
33 
#define STY_API
Definition: STY_API.h:10