Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Public Member Functions | Data Fields | Protected Attributes
Megapolis Class Reference
Inheritance diagram for Megapolis:
Inheritance graph
[legend]

Public Member Functions

 Megapolis (const char *s="", double n=0)
 
virtual std::size_t byPopulation () const
 
bool operator< (const Megapolis *ptr_)
 

Data Fields

double population
 

Protected Attributes

const char * cityName
 

Detailed Description

memfunc.cpp - Example program for mem_fun and other member function pointer wrappers.

$Id$

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 1994-2006 Rogue Wave Software.

Definition at line 51 of file memfunc.cpp.

Constructor & Destructor Documentation

◆ Megapolis()

Megapolis::Megapolis ( const char *  s = "",
double  n = 0 
)
inline

Definition at line 55 of file memfunc.cpp.

Member Function Documentation

◆ byPopulation()

virtual std::size_t Megapolis::byPopulation ( ) const
inlinevirtual

Reimplemented in Metropolis.

Definition at line 60 of file memfunc.cpp.

◆ operator<()

bool Megapolis::operator< ( const Megapolis *  ptr_)
inline

Definition at line 69 of file memfunc.cpp.

Field Documentation

◆ cityName

const char* Megapolis::cityName
protected

Definition at line 77 of file memfunc.cpp.

◆ population

double Megapolis::population

Definition at line 73 of file memfunc.cpp.


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