gpg:: ScorePage:: Entry
  #include <score_page.h>
  用于在成绩页面上创建条目的类。
摘要
        构造函数和析构函数 | 
    |
|---|---|
        Entry()
         | 
    |
        Entry(std::shared_ptr< const EntryImpl > impl)
        显式构造函数。 
       | 
    |
        Entry(const Entry & copy_from)
        用于将现有条目复制到新条目的复制构造函数。 
       | 
    |
        Entry(Entry && move_from)
        用于将现有条目移至新条目的构造函数。 
       | 
    |
        ~Entry()
         | 
    
        公共函数 | 
    |
|---|---|
        LastModified() const 
       | 
      已废弃。 优先使用 LastModifiedTime。 | 
        LastModifiedTime() const 
       | 
      
        
         返回条目上次修改的时间(以自 Unix 纪元以来经过的毫秒数表示)。 
       | 
    
        PlayerId() const 
       | 
      
        const std::string &
        返回玩家 ID。 
       | 
    
        Score() const 
       | 
      
        const gpg::Score &
        返回玩家得分。 
       | 
    
        Valid() const 
       | 
      
        bool
        如果返回的条目已填充数据且响应状态为成功,则返回 true;如果用户创建的条目未填充数据,或者已填充数据但响应状态为失败,则返回 false。 
       | 
    
        operator=(const Entry & copy_from)
       | 
      
        Entry &
        用于从其他条目分配此条目值的赋值运算符。 
       | 
    
        operator=(Entry && move_from)
       | 
      
        Entry &
        用于从其他条目分配此条目值的赋值运算符。 
       | 
    
公共函数
条目
Entry()
条目
Entry( std::shared_ptr< const EntryImpl > impl )
显式构造函数。
PlayerId
const std::string & PlayerId() const
返回玩家 ID。
有效
bool Valid() const
如果返回的条目已填充数据且响应状态为成功,则返回 true;如果用户创建的条目未填充数据,或者已填充数据但响应状态为失败,则返回 false。
此条目上的 getter 函数(PlayerId、Score 等)必须为 true 才能使用。
~条目
~Entry()