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

Method FileNameParameter

src/IECore/FileNameParameter.cpp:54–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52IE_CORE_DEFINERUNTIMETYPED( FileNameParameter );
53
54FileNameParameter::FileNameParameter( const std::string &name, const std::string &description,
55 const std::string &extensions, const std::string &defaultValue, bool allowEmptyString, PathParameter::CheckType check,
56 const StringParameter::PresetsContainer &presets, bool presetsOnly, ConstCompoundObjectPtr userData )
57 : PathParameter( name, description, defaultValue, allowEmptyString, check, presets, presetsOnly, userData )
58{
59 if( extensions!="" )
60 {
61 split( m_extensions, extensions, is_any_of( " " ) );
62 }
63}
64
65const std::vector<std::string> &FileNameParameter::extensions() const
66{

Callers 9

__init__Method · 0.80
__init__Method · 0.80
testMethod · 0.80
testUserDataMethod · 0.80
testNoExtensionsMethod · 0.80
testNotADirectoryMethod · 0.80
testPathParametersMethod · 0.80
__init__Method · 0.80

Calls 1

splitFunction · 0.85

Tested by

no test coverage detected