DD::Image::Text_KnobI Class Reference

List of all members.

Public Member Functions

virtual const std::string & text () const =0
virtual void text (std::string &text)=0

Detailed Description

Interface to provide facility for setting the text of a static text knob To use in Op subclasses. Create a knob using Named_Text_knob() and retrieve the knob using Op::knob("knob_name"). Then dynamic_cast to a Text_KnobI and call text("some value") on it.