HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
STY_SubjectNamed.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_SubjectNamed.h ( STY Library, C++)
7  *
8  * COMMENTS:
9  */
10 
11 #ifndef __STY_SubjectNamed__
12 #define __STY_SubjectNamed__
13 
14 #include "STY_API.h"
15 #include "STY_Subject.h"
16 #include <SYS/SYS_Types.h>
17 
18 /// Helper class for subjects that have names and IDs.
20 {
21 protected:
22  // Returns true if name matches.
23  bool matchesNameHelper( const char *name ) const;
24 
25  // Returns true if does not match the path or matches only partially.
26  // The match argument contains the result.
27  bool matchesFullPathHelper(
28  STY_TargetMatchStatus &match,
29  const STY_TargetHandle &target ) const;
30 
31  // Obtains name and ID from subclass.
32  virtual UT_StringHolder getSubjectName() const = 0;
33  virtual int64 getSubjectID() const = 0;
34 };
35 
36 #endif
37 
Contains information about the style subject match to the style target.
#define STY_API
Definition: STY_API.h:10
long long int64
Definition: SYS_Types.h:116
GLenum target
Definition: glcorearb.h:1667
GLuint const GLchar * name
Definition: glcorearb.h:786
Helper class for subjects that have names and IDs.