# import
import(
    bayesTFR
)

#exportPattern("^[[:alpha:]]+")
useDynLib(bayesPop)

# export functions
export(
pop.predict,
pop.trajectories.plot,
pop.trajectories.plotAll,
pop.trajectories.table,
pop.byage.plot,
pop.byage.plotAll,
pop.byage.table,
pop.pyramid,
pop.pyramidAll,
pop.trajectories.pyramid,
pop.trajectories.pyramidAll,
get.pop.prediction,
has.pop.prediction,
pop.aggregate,
get.pop.aggregation,
get.bPop.pyramid,
pop.map,
get.pop.map.parameters,
pop.map.gvis,
write.pop.projection.summary,
pop.cleanup.cache,
LifeTableMx,
LifeTableMxCol
)

# register S3 methods
S3method(summary, bayesPop.prediction)
S3method(print, summary.bayesPop.prediction)
S3method(get.countries.table, bayesPop.prediction)
S3method(pop.pyramid, bayesPop.prediction)
S3method(pop.pyramid, bayesPop.pyramid)
S3method(plot, bayesPop.pyramid)
S3method(pop.trajectories.pyramid, bayesPop.prediction)
S3method(pop.trajectories.pyramid, bayesPop.pyramid)
S3method(get.bPop.pyramid, bayesPop.prediction)
S3method(get.bPop.pyramid, data.frame)
S3method(get.bPop.pyramid, matrix)
S3method(get.bPop.pyramid, list)
S3method(get.data.for.worldmap, bayesPop.prediction)
S3method(.map.main.default, bayesPop.prediction)
S3method(bdem.map.gvis, bayesPop.prediction)
