Skip to content

Conversation

dconeybe
Copy link
Contributor

No description provided.

@dconeybe dconeybe self-assigned this May 16, 2023
#define FIREBASE_DEPRECATED
#endif // defined(SWIG) || defined(DOXYGEN)

// TODO: Replace all usages of the FIREBASE_DEPRECATED macro with the C++14

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Lint warning: Missing username in TODO; it should look like "// TODO(my_username): Stuff."

return out;
}

std::string ToString() const { return (std::ostringstream() << *this).str(); }

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Lint warning: Add #include <string> for string

: impl_(std::make_shared<Impl>()) {}

LocalCacheSettings::MemoryCacheSettings::LruGCSettings::LruGCSettings(Impl impl)
: impl_(std::make_shared<Impl>(std::move(impl))) {}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Lint warning: Add #include <utility> for move

}

Impl WithCacheSettings(PersistentCacheSettings::Impl settings) const {
return Impl(std::move(settings));

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Lint warning: Add #include <utility> for move

return out;
}

std::string ToString() const { return (std::ostringstream() << *this).str(); }

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Lint warning: Add #include <string> for string

* supported by the SDK. Custom implementation is not supported.
*/
class LocalCacheSettings {
class LocalCacheSettings final {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 Documentation issue: warning: Compound firebase::firestore::LocalCacheSettings is not documented.

friend bool operator==(const LocalCacheSettings& lhs,
const LocalCacheSettings& rhs);
LocalCacheSettings();
explicit LocalCacheSettings(PersistentCacheSettings);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 Documentation issue: warning: Member LocalCacheSettings(PersistentCacheSettings) (function) of class firebase::firestore::LocalCacheSettings is not documented.

const LocalCacheSettings& rhs);
LocalCacheSettings();
explicit LocalCacheSettings(PersistentCacheSettings);
explicit LocalCacheSettings(MemoryCacheSettings);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 Documentation issue: warning: Member LocalCacheSettings(MemoryCacheSettings) (function) of class firebase::firestore::LocalCacheSettings is not documented.

explicit LocalCacheSettings(PersistentCacheSettings);
explicit LocalCacheSettings(MemoryCacheSettings);

LocalCacheSettings(const LocalCacheSettings&) = default;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 Documentation issue: warning: Member LocalCacheSettings(const LocalCacheSettings &)=default (function) of class firebase::firestore::LocalCacheSettings is not documented.

explicit LocalCacheSettings(MemoryCacheSettings);

LocalCacheSettings(const LocalCacheSettings&) = default;
LocalCacheSettings& operator=(const LocalCacheSettings&) = default;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 Documentation issue: warning: Member operator=(const LocalCacheSettings &)=default (function) of class firebase::firestore::LocalCacheSettings is not documented.

PersistentCacheSettings(const PersistentCacheSettings&) = default;
PersistentCacheSettings& operator=(const PersistentCacheSettings&) = default;
PersistentCacheSettings(PersistentCacheSettings&&) = default;
PersistentCacheSettings& operator=(PersistentCacheSettings&&) = default;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 Documentation issue: warning: Member operator=(PersistentCacheSettings &&)=default (function) of class firebase::firestore::LocalCacheSettings::PersistentCacheSettings is not documented.


/** Move assignment. */
PersistentCacheSettings& operator=(PersistentCacheSettings&& other) = default;
void PrintTo(std::ostream& out) const;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 Documentation issue: warning: Member PrintTo(std::ostream &out) const (function) of class firebase::firestore::LocalCacheSettings::PersistentCacheSettings is not documented.

/** Equality function. */
friend bool operator==(const PersistentCacheSettings& lhs,
const PersistentCacheSettings& rhs);
std::string ToString() const { return (std::ostringstream() << *this).str(); }

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 Documentation issue: warning: Member ToString() const (function) of class firebase::firestore::LocalCacheSettings::PersistentCacheSettings is not documented.

void PrintTo(std::ostream& out) const;

~PersistentCacheSettings() override;
friend std::ostream& operator<<(std::ostream& out,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 Documentation issue: warning: Member operator<<(std::ostream &out, const PersistentCacheSettings &self) (friend) of class firebase::firestore::LocalCacheSettings::PersistentCacheSettings is not documented.

LocalCacheSettings local_cache_settings() const;

/**
* Configures the SDK with the given `LocalCacheSettings` instance.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 Documentation issue: [1 line down] warning: argument 'cache_settings' of command @param is not found in the argument list of firebase::firestore::Settings::set_local_cache_settings(LocalCacheSettings)

@wu-hui wu-hui changed the base branch from wuandy/LruGC to main May 23, 2023 18:56
@wu-hui wu-hui changed the base branch from main to wuandy/LruGC May 23, 2023 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant