API documentation  2.0rc1
Public Member Functions | List of all members
client::History Class Reference

#include <clientlib.h>

Inherits client::Object.

Public Member Functions

double get_length ()
 
Stringget_scrollRestoration ()
 
void set_scrollRestoration (const String &)
 
Objectget_state ()
 
void back ()
 
void back (Object *distance)
 
void forward ()
 
void forward (Object *distance)
 
void go ()
 
void go (Object *delta)
 
void pushState (Object *data)
 
void pushState (Object *data, const String &title)
 
void pushState (Object *data, const String &title, const String &url)
 
void replaceState (Object *data)
 
void replaceState (Object *data, const String &title)
 
void replaceState (Object *data, const String &title, const String &url)
 
Historyget_prototype ()
 
void set_prototype (History *)
 
 History ()
 
- Public Member Functions inherited from client::Object
 Object ()
 
template<typename T >
valueOf ()
 
 operator double () const
 
Objectoperator[] (const client::String &name) const
 
void set_ (const client::String &name, Object *v)
 
template<typename T , typename = typename std::enable_if<std::is_arithmetic<T>::value, T>::type>
void set_ (const client::String &name, T v)
 
bool hasOwnProperty (const client::String &name)
 

Constructor & Destructor Documentation

◆ History()

client::History::History ( )

Member Function Documentation

◆ back() [1/2]

void client::History::back ( )

◆ back() [2/2]

void client::History::back ( Object distance)

◆ forward() [1/2]

void client::History::forward ( )

◆ forward() [2/2]

void client::History::forward ( Object distance)

◆ get_length()

double client::History::get_length ( )

◆ get_prototype()

History* client::History::get_prototype ( )

◆ get_scrollRestoration()

String* client::History::get_scrollRestoration ( )

◆ get_state()

Object* client::History::get_state ( )

◆ go() [1/2]

void client::History::go ( )

◆ go() [2/2]

void client::History::go ( Object delta)

◆ pushState() [1/3]

void client::History::pushState ( Object data)

◆ pushState() [2/3]

void client::History::pushState ( Object data,
const String title 
)

◆ pushState() [3/3]

void client::History::pushState ( Object data,
const String title,
const String url 
)

◆ replaceState() [1/3]

void client::History::replaceState ( Object data)

◆ replaceState() [2/3]

void client::History::replaceState ( Object data,
const String title 
)

◆ replaceState() [3/3]

void client::History::replaceState ( Object data,
const String title,
const String url 
)

◆ set_prototype()

void client::History::set_prototype ( History )

◆ set_scrollRestoration()

void client::History::set_scrollRestoration ( const String )