#include <Message.hpp>
◆ ConstMessageIterator
◆ MessageIterator
◆ Message() [1/3]
HEaaN::Message::Message |
( |
| ) |
|
◆ Message() [2/3]
HEaaN::Message::Message |
( |
u64 |
log_slots | ) |
|
|
explicit |
Create an uninitialized message.
- Parameters
-
[in] | log_slots | The number of log(slots). |
A message which has two to log_slots
slots is constructed. Because each slot, which is a complex number, is not initialized, you have to fill them by yourself.
◆ Message() [3/3]
HEaaN::Message::Message |
( |
u64 |
log_slots, |
|
|
Complex |
initial |
|
) |
| |
|
explicit |
Create a message filled with a given value.
- Parameters
-
[in] | log_slots | The number of log(slots). |
[in] | initial | The value of each slot. |
A message which has two to log_slots
slots whose values are initial
is constructed..
◆ allocate()
void HEaaN::Message::allocate |
( |
const Device & |
device | ) |
|
◆ begin() [1/2]
◆ begin() [2/2]
◆ end() [1/2]
◆ end() [2/2]
◆ getDevice()
const Device& HEaaN::Message::getDevice |
( |
| ) |
const |
◆ getLogSlots()
u64 HEaaN::Message::getLogSlots |
( |
| ) |
const |
Get log(number of slots) of a message.
- Returns
- log(number of slots)
◆ getSize()
u64 HEaaN::Message::getSize |
( |
| ) |
const |
◆ isEmpty()
bool HEaaN::Message::isEmpty |
( |
| ) |
const |
Determine whether the message is empty or not.
- Returns
- true if the message is empty, false otherwise
◆ load() [1/2]
void HEaaN::Message::load |
( |
const std::string & |
path | ) |
|
◆ load() [2/2]
void HEaaN::Message::load |
( |
std::istream & |
stream | ) |
|
◆ operator[]() [1/2]
◆ operator[]() [2/2]
const Complex& HEaaN::Message::operator[] |
( |
u64 |
idx | ) |
const |
◆ rbegin() [1/2]
auto HEaaN::Message::rbegin |
( |
| ) |
|
|
inline |
◆ rbegin() [2/2]
auto HEaaN::Message::rbegin |
( |
| ) |
const |
|
inline |
◆ rend() [1/2]
auto HEaaN::Message::rend |
( |
| ) |
|
|
inline |
◆ rend() [2/2]
auto HEaaN::Message::rend |
( |
| ) |
const |
|
inline |
◆ resize()
void HEaaN::Message::resize |
( |
u64 |
size | ) |
|
◆ save() [1/2]
void HEaaN::Message::save |
( |
const std::string & |
path | ) |
const |
◆ save() [2/2]
void HEaaN::Message::save |
( |
std::ostream & |
stream | ) |
const |
◆ serialize()
template<class Archive >
void HEaaN::Message::serialize |
( |
Archive & |
ar | ) |
|
◆ to()
void HEaaN::Message::to |
( |
const Device & |
device | ) |
|
◆ impl_
Pointer<MessageImpl> HEaaN::Message::impl_ |
|
private |
The documentation for this class was generated from the following file: