alkimia  8.0.2
Classes | Public Member Functions | Protected Attributes | Friends | List of all members
AlkOnlineQuoteSource Class Reference

#include <alkonlinequotesource.h>

Classes

class  Private
 

Public Member Functions

 AlkOnlineQuoteSource ()
 
 AlkOnlineQuoteSource (const QString &name, AlkOnlineQuotesProfile *profile)
 
 AlkOnlineQuoteSource (const QString &name, const QString &url, const QString &sym, const QString &price, const QString &date, const QString &dateformat, bool skipStripping=false)
 
 ~AlkOnlineQuoteSource ()
 
 AlkOnlineQuoteSource (const AlkOnlineQuoteSource &other)
 
AlkOnlineQuoteSourceoperator= (AlkOnlineQuoteSource other)
 
bool isEmpty ()
 
bool isValid ()
 
bool read ()
 
bool write ()
 
void rename (const QString &name)
 
void remove ()
 
QString name () const
 
QString url () const
 
QString sym () const
 
QString price () const
 
QString date () const
 
QString dateformat () const
 
bool skipStripping () const
 
bool isGHNS ()
 
bool isReadOnly ()
 
void setName (const QString &name)
 
void setUrl (const QString &url)
 
void setSym (const QString &symbol)
 
void setPrice (const QString &price)
 
void setDate (const QString &date)
 
void setDateformat (const QString &dateformat)
 
void setSkipStripping (bool state)
 
void setGHNS (bool state)
 
QString ghnsWriteFileName ()
 
void setProfile (AlkOnlineQuotesProfile *profile)
 
AlkOnlineQuotesProfileprofile ()
 

Protected Attributes

Privated
 

Friends

void swap (AlkOnlineQuoteSource &first, AlkOnlineQuoteSource &second)
 

Detailed Description

Author
Thomas Baumgart & Ace Jones

This is a helper class to store information about an online source for stock prices or currency exchange rates.

Definition at line 35 of file alkonlinequotesource.h.

Constructor & Destructor Documentation

◆ AlkOnlineQuoteSource() [1/4]

AlkOnlineQuoteSource::AlkOnlineQuoteSource ( )

Definition at line 190 of file alkonlinequotesource.cpp.

◆ AlkOnlineQuoteSource() [2/4]

AlkOnlineQuoteSource::AlkOnlineQuoteSource ( const QString &  name,
AlkOnlineQuotesProfile profile 
)
explicit

◆ AlkOnlineQuoteSource() [3/4]

AlkOnlineQuoteSource::AlkOnlineQuoteSource ( const QString &  name,
const QString &  url,
const QString &  sym,
const QString &  price,
const QString &  date,
const QString &  dateformat,
bool  skipStripping = false 
)
explicit

◆ ~AlkOnlineQuoteSource()

AlkOnlineQuoteSource::~AlkOnlineQuoteSource ( )

Definition at line 234 of file alkonlinequotesource.cpp.

References d.

◆ AlkOnlineQuoteSource() [4/4]

AlkOnlineQuoteSource::AlkOnlineQuoteSource ( const AlkOnlineQuoteSource other)

Definition at line 195 of file alkonlinequotesource.cpp.

Member Function Documentation

◆ date()

QString AlkOnlineQuoteSource::date ( ) const

Definition at line 269 of file alkonlinequotesource.cpp.

References d, and AlkOnlineQuoteSource::Private::m_date.

Referenced by AlkOnlineQuoteSource(), and setDate().

◆ dateformat()

QString AlkOnlineQuoteSource::dateformat ( ) const

Definition at line 274 of file alkonlinequotesource.cpp.

References d, and AlkOnlineQuoteSource::Private::m_dateformat.

Referenced by AlkOnlineQuoteSource(), and setDateformat().

◆ ghnsWriteFileName()

QString AlkOnlineQuoteSource::ghnsWriteFileName ( )

◆ isEmpty()

bool AlkOnlineQuoteSource::isEmpty ( )

Definition at line 239 of file alkonlinequotesource.cpp.

References d, isValid(), and AlkOnlineQuoteSource::Private::m_url.

◆ isGHNS()

bool AlkOnlineQuoteSource::isGHNS ( )

Definition at line 325 of file alkonlinequotesource.cpp.

References d, and AlkOnlineQuoteSource::Private::m_isGHNSSource.

◆ isReadOnly()

bool AlkOnlineQuoteSource::isReadOnly ( )

Definition at line 330 of file alkonlinequotesource.cpp.

References d, and AlkOnlineQuoteSource::Private::m_readOnly.

◆ isValid()

bool AlkOnlineQuoteSource::isValid ( )

◆ name()

QString AlkOnlineQuoteSource::name ( ) const

◆ operator=()

AlkOnlineQuoteSource & AlkOnlineQuoteSource::operator= ( AlkOnlineQuoteSource  other)

Definition at line 200 of file alkonlinequotesource.cpp.

◆ price()

QString AlkOnlineQuoteSource::price ( ) const

Definition at line 264 of file alkonlinequotesource.cpp.

References d, and AlkOnlineQuoteSource::Private::m_price.

Referenced by AlkOnlineQuoteSource(), and setPrice().

◆ profile()

AlkOnlineQuotesProfile * AlkOnlineQuoteSource::profile ( )

Definition at line 346 of file alkonlinequotesource.cpp.

References d, and AlkOnlineQuoteSource::Private::m_profile.

Referenced by AlkOnlineQuoteSource(), and setProfile().

◆ read()

bool AlkOnlineQuoteSource::read ( )

◆ remove()

void AlkOnlineQuoteSource::remove ( )

◆ rename()

void AlkOnlineQuoteSource::rename ( const QString &  name)

◆ setDate()

void AlkOnlineQuoteSource::setDate ( const QString &  date)

Definition at line 304 of file alkonlinequotesource.cpp.

References d, date(), and AlkOnlineQuoteSource::Private::m_date.

◆ setDateformat()

void AlkOnlineQuoteSource::setDateformat ( const QString &  dateformat)

◆ setGHNS()

void AlkOnlineQuoteSource::setGHNS ( bool  state)

◆ setName()

void AlkOnlineQuoteSource::setName ( const QString &  name)

◆ setPrice()

void AlkOnlineQuoteSource::setPrice ( const QString &  price)

Definition at line 299 of file alkonlinequotesource.cpp.

References d, AlkOnlineQuoteSource::Private::m_price, and price().

◆ setProfile()

void AlkOnlineQuoteSource::setProfile ( AlkOnlineQuotesProfile profile)

◆ setSkipStripping()

void AlkOnlineQuoteSource::setSkipStripping ( bool  state)

Definition at line 314 of file alkonlinequotesource.cpp.

References d, and AlkOnlineQuoteSource::Private::m_skipStripping.

◆ setSym()

void AlkOnlineQuoteSource::setSym ( const QString &  symbol)

Definition at line 294 of file alkonlinequotesource.cpp.

References d, and AlkOnlineQuoteSource::Private::m_sym.

◆ setUrl()

void AlkOnlineQuoteSource::setUrl ( const QString &  url)

Definition at line 289 of file alkonlinequotesource.cpp.

References d, AlkOnlineQuoteSource::Private::m_url, and url().

◆ skipStripping()

bool AlkOnlineQuoteSource::skipStripping ( ) const

Definition at line 279 of file alkonlinequotesource.cpp.

References d, and AlkOnlineQuoteSource::Private::m_skipStripping.

Referenced by AlkOnlineQuoteSource().

◆ sym()

QString AlkOnlineQuoteSource::sym ( ) const

Definition at line 259 of file alkonlinequotesource.cpp.

References d, and AlkOnlineQuoteSource::Private::m_sym.

Referenced by AlkOnlineQuoteSource().

◆ url()

QString AlkOnlineQuoteSource::url ( ) const

Definition at line 254 of file alkonlinequotesource.cpp.

References d, and AlkOnlineQuoteSource::Private::m_url.

Referenced by AlkOnlineQuoteSource(), and setUrl().

◆ write()

bool AlkOnlineQuoteSource::write ( )

Friends And Related Function Documentation

◆ swap

void swap ( AlkOnlineQuoteSource first,
AlkOnlineQuoteSource second 
)
friend

Definition at line 87 of file alkonlinequotesource.h.

Member Data Documentation

◆ d

Private* AlkOnlineQuoteSource::d
protected

The documentation for this class was generated from the following files: