Look Files (C++)

namespace Foundry
namespace Katana
class FnLookFile

Public Types

typedef FnPlatform::internal::SharedPtr<FnLookFile>::type Ptr

Public Functions

~FnLookFile()
AttrMap::Ptr getMaterials() const
std::string getMaterialType(const std::string &materialName) const
FnAttribute::Attribute getMaterial(const std::string &name, bool global = true) const
FnAttribute::StringAttribute getRootIdNames() const
std::string getRootIdType(const std::string &rootId) const
FnAttribute::StringAttribute getPathsWithOverrides(const std::string &rootId = std::string()) const
AttrMap::Ptr getAttrs(const std::string &locationName, const std::string &rootId = std::string()) const
AttrMap::Ptr getRootOverrides() const

Public Static Functions

static Ptr getLookFile(const std::string &filePath, const std::string &passName = std::string())
static FnAttribute::StringAttribute getPassNamesForLookFileAsset(const std::string &asset)
static FnAttribute::StringAttribute getSafePath(const std::string &asset, bool includeVersion)
static void flushCache()

Private Functions

FnLookFile(FnLookFileHandle handle)

Private Members

FnLookFileHandle _handle

Private Static Functions

static const FnLookFileHostSuite_v2 *_getSuite()
class AttrMap

Public Types

typedef FnPlatform::internal::SharedPtr<AttrMap>::type Ptr

Public Functions

FnAttribute::Attribute get(const std::string &key) const
FnAttribute::StringAttribute getKeys() const
~AttrMap()

Private Functions

AttrMap(FnLookFileAttrMapHandle handle)

Private Members

FnLookFileAttrMapHandle _handle

Friends

friend Foundry::Katana::FnLookFile