MCPcopy Create free account
hub / github.com/ImageEngine/cortex / ValidatedStringParameter

Method ValidatedStringParameter

src/IECore/ValidatedStringParameter.cpp:47–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45IE_CORE_DEFINERUNTIMETYPED( ValidatedStringParameter );
46
47ValidatedStringParameter::ValidatedStringParameter( const std::string &name, const std::string &description,
48 const std::string &regex, const std::string &regexDescription, const std::string &defaultValue, bool allowEmptyString, const StringParameter::PresetsContainer &presets, bool presetsOnly, ConstCompoundObjectPtr userData )
49 : StringParameter( name, description, defaultValue, presets, presetsOnly, userData ), m_regex( regex ), m_regexDescription( regexDescription ), m_allowEmptyString( allowEmptyString )
50{
51}
52
53const std::string &ValidatedStringParameter::regex() const
54{

Callers 3

testMethod · 0.80
testUserDataMethod · 0.80
testOrderedPresetsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected