HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
VOP_LanguageInfo Class Reference

#include <VOP_LanguageInfo.h>

Public Member Functions

VOP_LanguageType getType () const
 Returns the type enumeration value of the language. More...
 
const UT_StringHoldergetName () const
 Returns the language name this info refers to. More...
 
 VOP_LanguageInfo (VOP_LanguageType type=VOP_LANGUAGE_INVALID, const UT_StringRef &lang_name=UT_StringRef())
 

Detailed Description

Class for referencing languages in VOPs. It can be used to obtain the registered VOP_Language definition object.

Examples:
SOP/SOP_PrimVOP.C.

Definition at line 22 of file VOP_LanguageInfo.h.

Constructor & Destructor Documentation

VOP_LanguageInfo::VOP_LanguageInfo ( VOP_LanguageType  type = VOP_LANGUAGE_INVALID,
const UT_StringRef lang_name = UT_StringRef() 
)
inlineexplicit

A constructor and a destructor.

Definition at line 29 of file VOP_LanguageInfo.h.

Member Function Documentation

const UT_StringHolder& VOP_LanguageInfo::getName ( ) const
inline

Returns the language name this info refers to.

Definition at line 41 of file VOP_LanguageInfo.h.

VOP_LanguageType VOP_LanguageInfo::getType ( ) const
inline

Returns the type enumeration value of the language.

Definition at line 37 of file VOP_LanguageInfo.h.


The documentation for this class was generated from the following file: