|
SOMHunter Core
|
#include <cstdint>#include <limits>#include <set>#include <sstream>#include <stdexcept>#include <string>#include <vector>

Go to the source code of this file.
Classes | |
| class | sh::NotLoggedInEx |
| struct | sh::DebugLogStreamPtrs |
| struct | sh::UsedTools |
| struct | sh::SubmitData |
| struct | sh::FiltersData |
Namespaces | |
| sh | |
Macros | |
| #define | SIZE_T_ERR_VAL (std::numeric_limits<size_t>::max)() |
| #define | IMAGE_ID_ERR_VAL (std::numeric_limits<FrameId>::max)() |
| #define | VIDEO_ID_ERR_VAL (std::numeric_limits<VideoId>::max)() |
Typedefs | |
| using | sh::UnixTimestamp = std::int64_t |
| using | sh::LogHash = std::string |
| using | sh::KeywordId = size_t |
| using | sh::KeywordIds = std::vector< KeywordId > |
| using | sh::KwSearchId = std::pair< KeywordId, size_t > |
| using | sh::KwSearchIds = std::vector< KwSearchId > |
| using | sh::KwDescription = std::string |
| using | sh::SynsetId = size_t |
| using | sh::SynsetStrings = std::vector< std::string > |
| using | sh::SynsetIds = std::vector< SynsetId > |
| using | sh::VideoId = unsigned |
| using | sh::FrameNum = unsigned |
| using | sh::ShotId = unsigned |
| using | sh::FrameId = unsigned long |
| using | sh::ScreenImgsCont = std::vector< FrameId > |
| using | sh::FeatureMatrix = std::vector< std::vector< float > > |
| using | sh::FeatureVector = std::vector< float > |
| template<typename T_ = float> | |
| using | sh::StdMatrix = std::vector< std::vector< T_ > > |
| template<typename T_ = float> | |
| using | sh::StdVector = std::vector< T_ > |
| using | sh::LikesCont = std::set< FrameId > |
| using | sh::BookmarksCont = std::set< FrameId > |
| using | sh::ShownFramesCont = std::set< FrameId > |
| using | sh::ScreenVideosCont = std::set< VideoId > |
| using | sh::PageId = unsigned |
| using | sh::Weekday = uint8_t |
| using | sh::Hour = uint8_t |
| using | sh::Year = uint16_t |
| using | sh::LscId = std::string |
Enumerations | |
| enum class | sh::SubmitResult { sh::CORRECT , sh::INCORRECT , sh::NOT_LOGGED_IN } |
| enum class | sh::DisplayType { sh::DNull , sh::DTopKNN , sh::DLoading , sh::DSom , sh::DEmbed , sh::DTopN , sh::DTopNContext , sh::DRand , sh::DVideoDetail , sh::DVideoReplay , sh::DRelocation , sh::NumItems } |
Functions | |
| template<typename T_ > | |
| constexpr T_ | sh::ERR_VAL () |
| Value indicating error/invalid/"NULL" value for the given type. More... | |
| DisplayType | sh::str_to_disp_type (const std::string &type_str) |
| std::string | sh::disp_type_to_str (DisplayType type) |
| constexpr size_t | sh::operator""_z (unsigned long long int x) |
| User defined size literal. More... | |
| #define IMAGE_ID_ERR_VAL (std::numeric_limits<FrameId>::max)() |
| #define SIZE_T_ERR_VAL (std::numeric_limits<size_t>::max)() |
| #define VIDEO_ID_ERR_VAL (std::numeric_limits<VideoId>::max)() |