Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Public Member Functions
NewYorkStockXchange Struct Reference

#include <stocks.h>

Inheritance diagram for NewYorkStockXchange:
Inheritance graph
[legend]
Collaboration diagram for NewYorkStockXchange:
Collaboration graph
[legend]

Public Member Functions

 NewYorkStockXchange (std::size_t refs=0)
 
virtual void localTime (std::ostream &os) const
 
virtual bool put (std::ostream &os) const
 
- Public Member Functions inherited from StockXchange
 StockXchange (std::size_t refs=0)
 
virtual ~StockXchange ()
 
virtual void add (const std::string &name, double initPrice)
 

Additional Inherited Members

- Public Types inherited from StockXchange
typedef std::basic_ostream< char, std::char_traits< char > > outStream
 
typedef std::ostreambuf_iterator< char, std::char_traits< char > > iter_type
 
typedef std::deque< Company *, std::allocator< Company * > > database
 
typedef std::locale::facet facet
 
- Static Public Attributes inherited from StockXchange
static std::locale::id id
 
- Protected Attributes inherited from StockXchange
database companyDatabase
 

Detailed Description

Definition at line 212 of file stocks.h.

Constructor & Destructor Documentation

◆ NewYorkStockXchange()

NewYorkStockXchange::NewYorkStockXchange ( std::size_t  refs = 0)
inline

Definition at line 214 of file stocks.h.

Member Function Documentation

◆ localTime()

virtual void NewYorkStockXchange::localTime ( std::ostream &  os) const
inlinevirtual

Reimplemented from StockXchange.

Definition at line 217 of file stocks.h.

◆ put()

virtual bool NewYorkStockXchange::put ( std::ostream &  os) const
inlinevirtual

Reimplemented from StockXchange.

Definition at line 228 of file stocks.h.


The documentation for this struct was generated from the following file: