AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | List of all members
OnTheFlyPrimeTable Class Reference

#include <prime_tables.h>

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

Public Member Functions

virtual bool IsPrime (int n) const
 
virtual int GetNextPrime (int p) const
 
- Public Member Functions inherited from PrimeTable
virtual ~PrimeTable ()
 

Member Function Documentation

◆ GetNextPrime()

virtual int OnTheFlyPrimeTable::GetNextPrime ( int  p) const
inlinevirtual

Implements PrimeTable.

◆ IsPrime()

virtual bool OnTheFlyPrimeTable::IsPrime ( int  n) const
inlinevirtual

Implements PrimeTable.


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

AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0