RosettaStone v0.4
Rosetta
Loaders
AccountLoader.hpp
Go to the documentation of this file.
1
// Copyright (c) 2019 Chris Ohk, Youngjoong Kim, SeungHyun Jeon
2
3
// We are making my contributions/submissions to this project solely in our
4
// personal capacity and are not conveying any rights to any intellectual
5
// property of any third parties.
6
7
#ifndef ROSETTASTONE_ACCOUNT_LOADER_HPP
8
#define ROSETTASTONE_ACCOUNT_LOADER_HPP
9
10
#include <
Rosetta/Accounts/AccountInfo.hpp
>
11
12
#include <json/json.hpp>
13
14
namespace
RosettaStone
15
{
21
class
AccountLoader
22
{
23
public
:
27
AccountInfo
*
Load
(std::string email)
const
;
28
31
void
Save
(
AccountInfo
* account)
const
;
32
};
33
}
// namespace RosettaStone
34
35
#endif // ROSETTASTONE_ACCOUNT_LOADER_HPP
RosettaStone::AccountLoader
AccountLoader class.
Definition:
AccountLoader.hpp:21
AccountInfo.hpp
RosettaStone::AccountLoader::Save
void Save(AccountInfo *account) const
RosettaStone
Definition:
AccountInfo.hpp:14
RosettaStone::AccountLoader::Load
AccountInfo * Load(std::string email) const
RosettaStone::AccountInfo
AccountInfo class.
Definition:
AccountInfo.hpp:23
Generated on Fri Mar 22 2019 02:36:37 for RosettaStone by
1.8.14