/// Returns name of type of tree items in root
CONFIG_EXPORT std::string rootType() const { return myRootTypes; }
- /// Returns number of folders under root
- CONFIG_EXPORT int rootFoldersNumber() const { return int(myRootFolderNames.size()); }
+ /// Returns number of folders under root
+ CONFIG_EXPORT size_t rootFoldersNumber() const { return myRootFolderNames.size(); }
/// Returns name of the folder by its Id
/// \param theId id of the folder
/// Returns name of type of tree items in sub document
CONFIG_EXPORT std::string subType() const { return mySubTypes; }
- /// Returns number of folders under sub document
- CONFIG_EXPORT int subFoldersNumber() const { return int(mySubFolderNames.size()); }
+ /// Returns number of folders under sub document
+ CONFIG_EXPORT size_t subFoldersNumber() const { return mySubFolderNames.size(); }
/// Returns name of the folder by its Id
/// \param theId id of the folder