P4C
The P4 Compiler
Loading...
Searching...
No Matches
P4::MatchRegister Class Reference

Public Member Functions

 MatchRegister (cstring)
 
bool operator< (const MatchRegister &other) const
 
bool operator== (const MatchRegister &other) const
 
void toJSON (JSONGenerator &json) const
 JSON serialization/deserialization.
 
cstring toString () const
 

Static Public Member Functions

static MatchRegister fromJSON (JSONLoader &json)
 

Public Attributes

int id
 
cstring name
 
size_t size
 

Static Public Attributes

static int s_id = 0
 

Friends

std::ostream & operator<< (std::ostream &out, const MatchRegister &c)
 

Member Data Documentation

◆ s_id

int MatchRegister::s_id = 0
static

Copyright (C) 2024 Intel Corporation

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

SPDX-License-Identifier: Apache-2.0