AMF-Placer  2.0
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
stringCheck.cc File Reference
#include "stringCheck.h"
#include <cstring>
#include <iostream>
#include <vector>
Include dependency graph for stringCheck.cc:

Go to the source code of this file.

Functions

bool strContains (std::string target, std::string substring)
 
void strSplit (const std::string &s, std::vector< std::string > &sv, const char *delim)
 
void replaceAll (std::string &str, const std::string from, const std::string to)
 

Detailed Description

Author
Tingyuan LIANG (tlian.nosp@m.g@co.nosp@m.nnect.nosp@m..ust.nosp@m..hk)
Version
0.1
Date
2021-10-02

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.

Definition in file stringCheck.cc.

Function Documentation

◆ replaceAll()

void replaceAll ( std::string &  str,
const std::string  from,
const std::string  to 
)

◆ strContains()

bool strContains ( std::string  target,
std::string  substring 
)

◆ strSplit()