9 #ifndef __HOM_styles_h__
10 #define __HOM_styles_h__
27 virtual bool hasStyle(
const char *
name) = 0;
29 virtual std::vector<std::string> styles(
const char *
pattern = NULL) = 0;
31 virtual std::string description(
const char *style) = 0;
33 virtual std::string stylesheet(
const char *style) = 0;
37 virtual void addStyle(
const char *
name,
38 const char *description,
39 const char *stylesheet) = 0;
41 virtual void renameStyle(
const char *old_name,
42 const char *new_name) = 0;
44 virtual void reorderStyles(
const std::vector<std::string> &names) = 0;
46 virtual void removeStyle(
const char *
name) = 0;
48 virtual void removeAll() = 0;
GLsizei const GLchar *const * string
string __repr__(VtArray< T > const &self)
GLuint const GLchar * name
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)