HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
HDK
Houdini Development Kit
Todo List
Deprecated List
Modules
Namespaces
Classes
Files
File List
File Members
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
SIM_QueryOptions.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
*/
7
8
#ifndef __SIM_QueryOptions_h__
9
#define __SIM_QueryOptions_h__
10
11
#include "
SIM_API.h
"
12
#include "
SIM_Query.h
"
13
14
class
SIM_Options
;
15
16
/// This class provides an interface between a SIM_Data and the Houdini
17
/// expression language. It also helps in building the tree view of a
18
/// simulation.
19
class
SIM_API
SIM_QueryOptions
:
public
SIM_Query
20
{
21
public
:
22
/// Constructor which takes a const SIM_Data as our owner.
23
explicit
SIM_QueryOptions
(
const
SIM_Data
*owner,
24
const
SIM_Options
*options);
25
/// Destructor for this class.
26
~
SIM_QueryOptions
()
override
;
27
28
protected
:
29
const
SIM_Options
&getOptions()
const
;
30
31
int
getNumRecordTypesSubclass
()
const override
;
32
const
char
*
getRecordTypeNameSubclass
(
33
int
recordtypenum)
const override
;
34
35
int
getNumRecordsSubclass
(
36
const
char
*recordtype)
const override
;
37
int
getNumFieldsSubclass
(
38
const
char
*recordtype)
const override
;
39
const
char
*
getFieldNameSubclass
(
40
const
char
*recordtype,
41
int
fieldnum)
const override
;
42
UT_OptionType
getFieldTypeSubclass
(
43
const
char
*recordtype,
44
int
fieldnum)
const override
;
45
bool
getFieldRawSubclass
(
46
const
char
*recordtype,
47
int
recordnum,
48
const
char
*fieldname,
49
UT_OptionEntryPtr
&
result
)
const override
;
50
51
private
:
52
void
buildNameList();
53
54
const
SIM_Options
*myOptions;
55
UT_ValArray<const char *>
myNames;
56
UT_Array<UT_OptionType>
myTypes;
57
};
58
59
#endif
60
SIM_Data
Definition:
SIM_Data.h:137
SIM_QueryOptions
Definition:
SIM_QueryOptions.h:19
UT_OptionType
UT_OptionType
Definition:
UT_Options.h:44
result
**But if you need a result
Definition:
thread.h:613
UT_ValArray< const char * >
UT_Array< UT_OptionType >
SIM_Query::getNumRecordsSubclass
virtual int getNumRecordsSubclass(const char *recordtype) const
SIM_API.h
SIM_Query::getNumRecordTypesSubclass
virtual int getNumRecordTypesSubclass() const
SIM_Query
Definition:
SIM_Query.h:24
SIM_Query::getFieldRawSubclass
virtual bool getFieldRawSubclass(const char *recordtype, int recordnum, const char *fieldname, UT_OptionEntryPtr &result) const
SIM_Query::getFieldNameSubclass
virtual const char * getFieldNameSubclass(const char *recordtype, int fieldnum) const
SIM_Options
Definition:
SIM_Options.h:27
SIM_Query.h
SIM_Query::getNumFieldsSubclass
virtual int getNumFieldsSubclass(const char *recordtype) const
SIM_Query::getFieldTypeSubclass
virtual UT_OptionType getFieldTypeSubclass(const char *recordtype, int fieldnum) const
SIM_API
#define SIM_API
Definition:
SIM_API.h:12
UT_OptionEntryPtr
UT_UniquePtr< UT_OptionEntry > UT_OptionEntryPtr
Definition:
UT_OptionEntry.h:30
SIM_Query::getRecordTypeNameSubclass
virtual const char * getRecordTypeNameSubclass(int recordtypenum) const
SIM
SIM_QueryOptions.h
Generated on Tue Apr 29 2025 02:45:40 for HDK by
1.8.6