chromium/ui/base/metadata/metadata_types.cc

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "ui/base/metadata/metadata_types.h"

#include <utility>

#include "base/check_op.h"
#include "base/notreached.h"
#include "base/strings/strcat.h"
#include "base/strings/string_util.h"
#include "ui/base/metadata/base_type_conversion.h"

namespace ui {
namespace metadata {

PropertyFlags operator|(PropertyFlags op1, PropertyFlags op2) {}

PropertyFlags operator&(PropertyFlags op1, PropertyFlags op2) {}

PropertyFlags operator^(PropertyFlags op1, PropertyFlags op2) {}

bool operator!(PropertyFlags op) {}

MetaDataProvider::MetaDataProvider() = default;

MetaDataProvider::~MetaDataProvider() = default;

class ClassMetaData* MetaDataProvider::GetClassMetaData() {}

base::CallbackListSubscription MetaDataProvider::AddPropertyChangedCallback(
    PropertyKey property,
    PropertyChangedCallback callback) {}

void MetaDataProvider::TriggerChangedCallback(PropertyKey property) {}

ClassMetaData::ClassMetaData() = default;

ClassMetaData::ClassMetaData(std::string file, int line) :{}

ClassMetaData::~ClassMetaData() = default;

const std::string& ClassMetaData::GetUniqueName() const {}

void ClassMetaData::AddMemberData(
    std::unique_ptr<MemberMetaDataBase> member_data) {}

MemberMetaDataBase* ClassMetaData::FindMemberData(
    const std::string& member_name) {}

/** Member Iterator */
ClassMetaData::ClassMemberIterator::ClassMemberIterator(
    const ClassMetaData::ClassMemberIterator& other) {}
ClassMetaData::ClassMemberIterator::~ClassMemberIterator() = default;

// If starting_container's members vector is empty, set current_collection_
// to its parent until parent class has members. Base parent class View
// will always have members, even if all other parent classes do not.
ClassMetaData::ClassMemberIterator::ClassMemberIterator(
    ClassMetaData* starting_container) {}

bool ClassMetaData::ClassMemberIterator::operator==(
    const ClassMemberIterator& rhs) const {}

ClassMetaData::ClassMemberIterator&
ClassMetaData::ClassMemberIterator::operator++() {}

ClassMetaData::ClassMemberIterator
ClassMetaData::ClassMemberIterator::operator++(int) {}

bool ClassMetaData::ClassMemberIterator::IsLastMember() const {}

std::string ClassMetaData::ClassMemberIterator::GetCurrentCollectionName()
    const {}

void ClassMetaData::ClassMemberIterator::IncrementHelper() {}

ClassMetaData::ClassMemberIterator ClassMetaData::begin() {}

ClassMetaData::ClassMemberIterator ClassMetaData::end() {}

void ClassMetaData::SetTypeName(const std::string_view type_name) {}

void MemberMetaDataBase::SetValueAsString(void* obj,
                                          const std::u16string& new_value) {}

const char* MemberMetaDataBase::GetMemberNamePrefix() const {}

MemberMetaDataBase::ValueStrings MemberMetaDataBase::GetValidValues() const {}

}  // namespace metadata
}  // namespace ui