Android-cuttlefish cvd tool
selector_constants.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2022 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#pragma once
18
19namespace cuttlefish {
20namespace selector {
21
22/*
23 * These are fields in instance database
24 *
25 */
26constexpr char kGroupNameField[] = "group_name";
27constexpr char kHomeField[] = "home";
28constexpr char kInstanceIdField[] = "instance_id";
29/* per_instance_name
30 *
31 * by default, to_string(instance_id), and users can override it
32 */
33constexpr char kInstanceNameField[] = "instance_name";
34
39// names of the flags, which are also used for search
40
42 public:
43 static constexpr char kGroupName[] = "group_name";
44 static constexpr char kInstanceName[] = "instance_name";
45 static constexpr char kVerbosity[] = "verbosity";
46};
47
48} // namespace selector
49} // namespace cuttlefish
Definition: selector_constants.h:41
static constexpr char kVerbosity[]
Definition: selector_constants.h:45
static constexpr char kGroupName[]
Definition: selector_constants.h:43
static constexpr char kInstanceName[]
Definition: selector_constants.h:44
constexpr char kGroupNameField[]
Definition: selector_constants.h:26
constexpr char kInstanceNameField[]
Definition: selector_constants.h:33
constexpr char kHomeField[]
Definition: selector_constants.h:27
constexpr char kInstanceIdField[]
Definition: selector_constants.h:28
Definition: alloc_utils.cpp:23