|
class | Processor |
|
struct | CascadeRefComaparator |
|
std::ostream & | operator<< (std::ostream &os, std::vector< std::pair< timestamp, int > > &time_magnitude) |
| Overload operator << to add time and magnitude to an output to print. More...
|
|
◆ Cascade() [1/3]
tweetoscope::cascade::Cascade::Cascade |
( |
const tweet & |
twt, |
|
|
const std::string & |
key |
|
) |
| |
|
inline |
Construct a new Cascade object from a tweet (std::string) and a key (std::string)
- Parameters
-
◆ Cascade() [2/3]
tweetoscope::cascade::Cascade::Cascade |
( |
const Cascade & |
process | ) |
|
|
default |
Construct a new Cascade object by copy.
- Parameters
-
◆ Cascade() [3/3]
tweetoscope::cascade::Cascade::Cascade |
( |
Cascade && |
process | ) |
|
|
default |
Construct a new Cascade object by displacement (move)
- Parameters
-
◆ addTweetToCascade()
void tweetoscope::cascade::Cascade::addTweetToCascade |
( |
const tweet & |
twt, |
|
|
const std::string & |
key |
|
) |
| |
|
inline |
Add a tweet to a cascade object.
- Parameters
-
◆ getId()
std::string tweetoscope::cascade::Cascade::getId |
( |
| ) |
const |
|
inline |
Get the Id object.
- Returns
- std::string
◆ getMsg()
std::string tweetoscope::cascade::Cascade::getMsg |
( |
| ) |
const |
|
inline |
Get the Msg object.
- Returns
- std::string
◆ getpairsOfTimesAndMagnitudes()
std::vector< std::pair< timestamp, int > > tweetoscope::cascade::Cascade::getpairsOfTimesAndMagnitudes |
( |
| ) |
const |
|
inline |
Get the pair (Times, magnitude) from a Cascade object.
- Returns
- std::vector<std::pair<timestamp, int> >
◆ getSource()
source::idf tweetoscope::cascade::Cascade::getSource |
( |
| ) |
const |
|
inline |
Get the Source object.
- Returns
- source::idf
◆ getTimeOfFirstTweet()
timestamp tweetoscope::cascade::Cascade::getTimeOfFirstTweet |
( |
| ) |
const |
|
inline |
Get the Time Of First Tweet object.
- Returns
- timestamp
◆ getTimeOfLastTweet()
timestamp tweetoscope::cascade::Cascade::getTimeOfLastTweet |
( |
| ) |
const |
|
inline |
Get the Time Of Last Tweet object.
- Returns
- timestamp
◆ operator+=()
void tweetoscope::cascade::Cascade::operator+= |
( |
std::pair< tweet, std::string > & |
elt | ) |
|
|
inline |
Overload operator += to add a tweet and its key to a cascade.
- Parameters
-
◆ operator<()
bool tweetoscope::cascade::Cascade::operator< |
( |
const cascade_ref & |
ref_other_cascade | ) |
const |
|
inline |
Overload operator < to compare the cascade object from its sharepointer reference with another reference of a cascade.
- Parameters
-
- Returns
- true
-
false
◆ operator=() [1/2]
Cascade& tweetoscope::cascade::Cascade::operator= |
( |
Cascade && |
process | ) |
|
|
default |
Overload operateur = to construct a new Cascade object by recopying the right value.
- Parameters
-
- Returns
- Cascade&
◆ operator=() [2/2]
Cascade& tweetoscope::cascade::Cascade::operator= |
( |
const Cascade & |
process | ) |
|
|
default |
Overload operateur = to construct a new Cascade object by recopy.
- Parameters
-
- Returns
- Cascade&
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
std::vector< std::pair< timestamp, int > > & |
time_magnitude |
|
) |
| |
|
friend |
Overload operator << to add time and magnitude to an output to print.
- Parameters
-
- Returns
- std::ostream&
The documentation for this class was generated from the following file: